SimpleCoroutinesLogger

class SimpleCoroutinesLogger(val name: String, var level: Level) : Logger

Constructors

Link copied to clipboard
constructor(name: String, level: Level)

Properties

Link copied to clipboard
override var level: Level
Link copied to clipboard
open override var levelBeforeMute: Level
Link copied to clipboard
override val name: String

Functions

Link copied to clipboard
inline suspend fun debug(f: () -> String)
suspend fun debug(msg: String, vararg args: Any?)
inline suspend fun debug(t: Throwable, f: () -> String)
suspend fun debug(msg: String, t: Throwable, vararg args: Any?)
Link copied to clipboard
inline suspend fun error(f: () -> String?)
suspend fun error(msg: String?, vararg args: Any?)
inline suspend fun error(t: Throwable, f: () -> String?)
suspend fun error(msg: String?, t: Throwable, vararg args: Any?)
Link copied to clipboard
inline suspend fun info(f: () -> String)
suspend fun info(msg: String, vararg args: Any?)
inline suspend fun info(t: Throwable, f: () -> String)
suspend fun info(msg: String, t: Throwable, vararg args: Any?)
Link copied to clipboard
open fun isMuted(): Boolean
Link copied to clipboard
open fun mute()
Link copied to clipboard
Link copied to clipboard
open override fun toLoggingEvent(level: Level, span: TracingEvent.Span?, message: String, arguments: Array<out Any?>, throwable: Throwable?): LoggingEvent

Converts the provided logging information into a LoggingEvent.

Link copied to clipboard
inline suspend fun trace(f: () -> String)
suspend fun trace(msg: String, vararg args: Any?)
inline suspend fun trace(t: Throwable, f: () -> String)
suspend fun trace(msg: String, t: Throwable, vararg args: Any?)
Link copied to clipboard
open fun unmute()
Link copied to clipboard
inline suspend fun warn(f: () -> String)
suspend fun warn(msg: String, vararg args: Any?)
inline suspend fun warn(t: Throwable, f: () -> String)
suspend fun warn(msg: String, t: Throwable, vararg args: Any?)