struct LavinMQ::Logger

Defined in:

lavinmq/logger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(log : ::Log, metadata : ::Log::Metadata) #

[View source]
def self.new(log : ::Log, **kwargs) #

[View source]

Instance Method Detail

def debug(exception : Exception | Nil = nil, &) #

[View source]
def error(exception : Exception | Nil = nil, &) #

[View source]
def fatal(exception : Exception | Nil = nil, &) #

[View source]
def info(exception : Exception | Nil = nil, &) #

[View source]
def notice(exception : Exception | Nil = nil, &) #

[View source]
def trace(exception : Exception | Nil = nil, &) #

[View source]
def warn(exception : Exception | Nil = nil, &) #

[View source]