class

Azu::AsyncLogging::AsyncLogger

Inherits Reference < Object

Async logger wrapper

Constructors

new(source : String = "azu", request_id : String | Nil = nil)
Source

Instance methods

debug(message : String, context : Hash(String, String) | Nil = nil)
Source
error(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
Source
fatal(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
Source
info(message : String, context : Hash(String, String) | Nil = nil)
Source
log(severity : Log::Severity, message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
Source
request_id
Source
source
Source
warn(message : String, context : Hash(String, String) | Nil = nil)
Source
with_request_id(request_id : String)
Source