Structured Logger
class StructuredLogger(sinks: List<LoggingSink>, policyProvider: () -> ObservabilityPolicy, enabledProvider: () -> Boolean? = null) : Logger
Multi-sink structured logger implementation.
Dispatches log entries to configured sinks with automatic enrichment of correlation context and thread information.
Security (BSI SYS.3.2.2.A12): Centralized logging with configurable verbosity per sink.
Thread Safety: This class is thread-safe. All sink dispatching is synchronized and sinks must be thread-safe.
Since
0.4.0
Constructors
Link copied to clipboard
constructor(sinks: List<LoggingSink>, policyProvider: () -> ObservabilityPolicy, enabledProvider: () -> Boolean? = null)