Package-level declarations
Types
Console Output Appender
Link copied to clipboard
Link copied to clipboard
class DarwinKLogger(val name: String, val underlyingLogger: os_log_t) : KLogger, DelegatingKLogger<os_log_t>
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
A class with logging capabilities and explicit logger name
Functions
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: