logging types
Shared types for the consolidated logging stack.
Levels and context
LogLevel—DEBUG…PERFLogContext— component, module, function, user/session/request ids, categoryLogEntry— message, structureddata, timestamp, optionalerror,duration
Configuration
LoggerConfig— enabled, level, formatters, transports, grouping, performance thresholdsLogTransport/LogFormatter— plugin interfacesLoggerInstance— method surface implemented byLoggerand adapters
Import from here in transports and adapters — avoid duplicating inline shapes.
Sources: src/lib/logging/types.ts