LogData

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()))

Functions

Link copied to clipboard
open fun isPrintable(level: LogLevel): Boolean

Properties

Link copied to clipboard
open override val context: LogContext
Link copied to clipboard
open override val level: LogLevel
Link copied to clipboard
open override val loggerName: String
Link copied to clipboard
open override val message: String
Link copied to clipboard
open override val meta: Map<String, Any?>
Link copied to clipboard
open override val threadName: String?
Link copied to clipboard
open override val throwable: Throwable? = null
Link copied to clipboard
open override val timestamp: LocalDateTime