class

ArrJanitor::Reporter

Inherits Reference < Object

Worker-facing logging facade. Wraps a Channel(LogEvent); each level helper builds a LogEvent and sends it down the channel for the main-fiber LogConsumer to emit. Safe to call from any fiber/thread.

Constructors

new(channel : Channel(LogEvent))
Source

Instance methods

close

Closes the underlying channel, signalling the consumer to stop draining.

Source
debug(source : String, message : String, exception : Exception | Nil = nil) : Nil
Source
error(source : String, message : String, exception : Exception | Nil = nil) : Nil
Source
info(source : String, message : String, exception : Exception | Nil = nil) : Nil
Source
warn(source : String, message : String, exception : Exception | Nil = nil) : Nil
Source