Log Data
data class LogData(val loggerName: String, val level: LogLevel, val message: String, val throwable: Throwable? = null, val meta: Map<String, Any?> = emptyMap(), val context: LogContext = EmptyLogContext, val threadName: String? = getThreadName(), val timestamp: LocalDateTime = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault())) : Log
Constructors
Link copied to clipboard
constructor(loggerName: String, level: LogLevel, message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap(), context: LogContext = EmptyLogContext, threadName: String? = getThreadName(), timestamp: LocalDateTime = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()))