Package-level declarations

Types

Link copied to clipboard
class TypedKSLog(typedLoggers: Map<KClass<*>?, KSLog>) : KSLog

Uses typedLoggers to determine, where incoming __message__s should be sent. If there is no KClass key for incoming message in typedLoggers, logger will use logger by null key if exists. If there is no default logger (by null key), logging will be skipped

Link copied to clipboard
class TypedKSLogBuilder(preset: Map<KClass<*>?, KSLog> = emptyMap())

Special builder for TypedKSLog

Functions

Link copied to clipboard
inline fun buildTypedLogger(preset: Map<KClass<*>?, KSLog> = emptyMap(), block: TypedKSLogBuilder.() -> Unit): TypedKSLog