JLogger

open class JLogger(val name: String, var level: LogLevel, pipeline: List<JLogPipe>)

Constructors

Link copied to clipboard
constructor(name: String, level: LogLevel, pipeline: List<JLogPipe>)

Functions

Link copied to clipboard
fun debug(body: LogExtra.() -> String)
fun debug(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())
Link copied to clipboard
fun error(body: LogExtra.() -> String)
fun error(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())
Link copied to clipboard
fun fetal(body: LogExtra.() -> String)
fun fetal(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())
Link copied to clipboard
fun info(body: LogExtra.() -> String)
fun info(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())
Link copied to clipboard
open fun log(log: Log)
fun log(level: LogLevel, log: LogExtra.() -> String)
fun log(level: LogLevel, message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap(), context: LogContext? = null)
Link copied to clipboard
fun trace(body: LogExtra.() -> String)
fun trace(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())
Link copied to clipboard
fun warning(body: LogExtra.() -> String)
fun warning(message: String, throwable: Throwable? = null, meta: Map<String, Any?> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val name: String