SimpleConsoleLogger

class SimpleConsoleLogger(name: String, nowEpochMillis: () -> Long = { System.currentTimeMillis() }) : KtaleLogger

Minimal console logger used by the fake platform and as a fallback.

Constructors

Link copied to clipboard
constructor(name: String, nowEpochMillis: () -> Long = { System.currentTimeMillis() })

Functions

Link copied to clipboard
open fun debug(message: String)
open fun debug(message: String, throwable: Throwable?)
open fun debug(message: String, throwable: Throwable?, context: Map<String, Any?>)
Link copied to clipboard
open fun error(message: String)
open fun error(message: String, throwable: Throwable?)
open fun error(message: String, throwable: Throwable?, context: Map<String, Any?>)
Link copied to clipboard
open fun info(message: String)
open fun info(message: String, throwable: Throwable?)
open fun info(message: String, throwable: Throwable?, context: Map<String, Any?>)
Link copied to clipboard
open fun log(level: LogLevel, message: String)
open fun log(level: LogLevel, message: String, throwable: Throwable?)
open override fun log(level: LogLevel, message: String, throwable: Throwable?, context: Map<String, Any?>)
Link copied to clipboard
open fun trace(message: String)
open fun trace(message: String, throwable: Throwable?)
open fun trace(message: String, throwable: Throwable?, context: Map<String, Any?>)
Link copied to clipboard
open fun warn(message: String)
open fun warn(message: String, throwable: Throwable?)
open fun warn(message: String, throwable: Throwable?, context: Map<String, Any?>)