ConsoleLogger

expect class ConsoleLogger : Logger(source)

A class that sends log messages to the system log, available via 'logcat' on Android.

actual class ConsoleLogger : DelegatedClass<<Error class: unknown class>> , Logger(source)
actual class ConsoleLogger : Logger(source)

Properties

Link copied to clipboard
expect var domains: Set<LogDomain>

The domains that will be considered for writing to the console log.

actual var domains: Set<LogDomain>
actual var domains: Set<LogDomain>
Link copied to clipboard
expect open override var level: LogLevel

The lowest level that will be logged to the console.

actual open override var level: LogLevel

Gets the level that will be logged via this logger.

actual open override var level: LogLevel

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
expect open override fun log(level: LogLevel, domain: LogDomain, message: String)

Performs the actual logging logic

actual open override fun log(level: LogLevel, domain: LogDomain, message: String)
Link copied to clipboard
expect fun setDomains(vararg domains: LogDomain)

Sets the domains that will be considered for writing to the console log.

actual fun setDomains(vararg domains: LogDomain)
actual fun setDomains(vararg domains: LogDomain)
Link copied to clipboard
open override fun toString(): String