logging / de.comhix.commons.logging

Package de.comhix.commons.logging

Types

RollbarHandler

class RollbarHandler : Handler

StdHandler

class StdHandler : ConsoleHandler

Functions

debug

fun <Type : Any> Type.debug(message: String): Unit
fun <Type : Any> Type.debug(message: String, throwable: Throwable): Unit
fun <Type : Any> Type.debug(message: String, param: Any): Unit
fun <Type : Any> Type.debug(message: String, vararg params: Any): Unit

error

fun <Type : Any> Type.error(message: String): Unit
fun <Type : Any> Type.error(message: String, throwable: Throwable): Unit
fun <Type : Any> Type.error(message: String, param: Any): Unit
fun <Type : Any> Type.error(message: String, vararg params: Any): Unit

info

fun <Type : Any> Type.info(message: String): Unit
fun <Type : Any> Type.info(message: String, throwable: Throwable): Unit
fun <Type : Any> Type.info(message: String, param: Any): Unit
fun <Type : Any> Type.info(message: String, vararg params: Any): Unit

log

fun <Type : Any> Type.log(level: Level, message: String): Unit
fun <Type : Any> Type.log(level: Level, message: String, throwable: Throwable): Unit
fun <Type : Any> Type.log(level: Level, message: String, param: Any): Unit
fun <Type : Any> Type.log(level: Level, message: String, vararg params: Any): Unit

logger

fun <Type : Any> Type.logger(): Logger
fun logger(klass: KClass<out Any>): Logger

warn

fun <Type : Any> Type.warn(message: String): Unit
fun <Type : Any> Type.warn(message: String, throwable: Throwable): Unit
fun <Type : Any> Type.warn(message: String, param: Any): Unit
fun <Type : Any> Type.warn(message: String, vararg params: Any): Unit