kalev-lib / eu.bolt.kalev / Kalev

Kalev

object Kalev

Properties

D

const val D: String

E

const val E: String

fastLog

var fastLog: FastLog?

FastLog can be used for performance-sensitive logging. Note that FastLog will NOT trigger log consumers

I

const val I: String

nop

var nop: Boolean

No Operation mode. In case of enabled NOP mode Kalev will not create log entries and dispatch them to consumers

V

const val V: String

W

const val W: String

Functions

addPoeg

fun addPoeg(consumer: Kalevipoeg): Unit

d

fun d(message: String): Unit
fun d(throwable: Throwable, message: String): Unit

e

fun e(message: String): Unit
fun e(throwable: Throwable, message: String): Unit

getEntry

fun getEntry(): LogEntry

i

fun i(message: String): Unit
fun i(throwable: Throwable, message: String): Unit

removeAllPoegs

fun removeAllPoegs(): Unit

removePoeg

fun removePoeg(consumer: Kalevipoeg): Unit

tag

fun tag(tag: String): LogEntry

v

fun v(message: String): Unit
fun v(throwable: Throwable, message: String): Unit

w

fun w(message: String): Unit
fun w(throwable: Throwable, message: String): Unit

with

fun with(key: String, value: Any?): LogEntry
fun with(error: Throwable): LogEntry