Package-level declarations
Types
Link copied to clipboard
interface ActualKLogger
Console Output Appender
Link copied to clipboard
Default Message Formatter
Link copied to clipboard
Link copied to clipboard
A Logger interface with Lazy message evaluation example:
A Logger interface with Lazy message evaluation example:
Link copied to clipboard
object KMarkerFactory
A platform independent factory to create markers.
Link copied to clipboard
object KotlinLogging
Kotlin Logging Configuration
Link copied to clipboard
object KotlinLoggingConfiguration
object KotlinLoggingConfiguration
Link copied to clipboard
A class with logging capabilities and explicit logger name
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns whether this Logger is enabled for a given Level.
is Logging Enabled
Link copied to clipboard
Link copied to clipboard
The JS way to define a logger without explicit name
Link copied to clipboard
inline fun <T> withLoggingContext(vararg pair: Pair<String, String?>, restorePrevious: Boolean = true, body: () -> T): T
Use a vary number of pairs in MDC context. Example:
inline fun <T> withLoggingContext(pair: Pair<String, String?>, restorePrevious: Boolean = true, body: () -> T): T
Use a pair in MDC context. Example:
inline fun <T> withLoggingContext(map: Map<String, String?>, restorePrevious: Boolean = true, body: () -> T): T
Use a map in MDC context. Example: