Created
September 7, 2022 18:06
-
-
Save jasonheecs/22de7cef42cbacf4fa8a28e1dc53aec9 to your computer and use it in GitHub Desktop.
Foo class used to illustrate testing of a log4j logger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example | |
import mu.KotlinLogging | |
class Foo { | |
private val logger = KotlinLogging.logger {} | |
fun bar() { | |
logger.error("this is a test log message") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment