Logger

interface Logger

Logs different kinds of messages

Functions

d
Link copied to clipboard
abstract fun d(t: Throwable)
Log a debug exception.
abstract fun d(message: String, vararg args: Any?)
Log a debug message with optional format args.
abstract fun d(t: Throwable, message: String, vararg args: Any?)
Log a debug exception and a message with optional format args.
e
Link copied to clipboard
abstract fun e(t: Throwable)
Log an error exception.
abstract fun e(message: String, vararg args: Any?)
Log an error message with optional format args.
abstract fun e(t: Throwable, message: String, vararg args: Any?)
Log an error exception and a message with optional format args.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
i
Link copied to clipboard
abstract fun i(t: Throwable)
Log an info exception.
abstract fun i(message: String, vararg args: Any?)
Log an info message with optional format args.
abstract fun i(t: Throwable, message: String, vararg args: Any?)
Log an info exception and a message with optional format args.
setCustomKey
Link copied to clipboard
abstract fun setCustomKey(key: String, value: String)
Writes a custom key with given value
setUserId
Link copied to clipboard
abstract fun setUserId(id: String)
Sets user identifier
toString
Link copied to clipboard
open fun toString(): String
v
Link copied to clipboard
abstract fun v(t: Throwable)
Log a verbose exception.
abstract fun v(message: String, vararg args: Any?)
Log a verbose message with optional format args.
abstract fun v(t: Throwable, message: String, vararg args: Any?)
Log a verbose exception and a message with optional format args.
w
Link copied to clipboard
abstract fun w(t: Throwable)
Log a warning exception.
abstract fun w(message: String, vararg args: Any?)
Log a warning message with optional format args.
abstract fun w(t: Throwable, message: String, vararg args: Any?)
Log a warning exception and a message with optional format args.
wtf
Link copied to clipboard
abstract fun wtf(t: Throwable)
Log an assert exception.
abstract fun wtf(message: String, vararg args: Any?)
Log an assert message with optional format args.
abstract fun wtf(t: Throwable, message: String, vararg args: Any?)
Log an assert exception and a message with optional format args.