Package-level declarations
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Pipeline internals and the immutable event model. DefaultLogger assembles the read-only LogEvent (timestamp, level, tag, message, throwable, attributes, resolved context, thread name). LogPipeline filters via LogPolicy and fans out to every sink; FATAL flushes then throws. LoggerConfig configures minLevel and per-tag overrides. LogContext and LogContextHolder carry contextual key-value data merged into every event.
Types
A builder for creating a map of log attributes.
Marks API that is internal to the KMP Logger library and reserved exclusively for the logger-coroutines module.
A context container that holds a map of values to be included in log events.
Holds and propagates the active LogContext for the current execution scope.
Holds and propagates the active LogContext for the current execution scope.
Holds and propagates the active LogContext for the current execution scope.
Holds and propagates the active LogContext for the current execution scope.
Holds and propagates the active LogContext for the current execution scope.
Kotlin/Native coroutines are not single-threaded - Dispatchers.Default is a multi-threaded worker pool. Without ThreadLocal this object's state would be one process-wide slot, so concurrent coroutines on different threads would read each other's context - i.e. silently wrong context data.
Kotlin/Native coroutines are not single-threaded - Dispatchers.Default is a multi-threaded worker pool. Without ThreadLocal this object's state would be one process-wide slot, so concurrent coroutines on different threads would read each other's context - i.e. silently wrong context data.
Holds and propagates the active LogContext for the current execution scope.
Configuration for the logger.