Package-level declarations
Types
Console Output Appender
Link copied to clipboard
Default Message Formatter
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class KLoggingEventBuilder
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
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: