class
Azu::AsyncLogging::AsyncLogger
- Azu::AsyncLogging::AsyncLogger
- Reference
- Object
Overview
Async logger wrapper
Defined in:
azu/log_format.crConstructors
Instance Method Summary
- #debug(message : String, context : Hash(String, String) | Nil = nil)
- #error(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
- #fatal(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
- #info(message : String, context : Hash(String, String) | Nil = nil)
- #log(severity : Log::Severity, message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
- #request_id : String | Nil
- #source : String
- #warn(message : String, context : Hash(String, String) | Nil = nil)
- #with_request_id(request_id : String)
Constructor Detail
Instance Method Detail
def error(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
#
def fatal(message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
#
def log(severity : Log::Severity, message : String, context : Hash(String, String) | Nil = nil, exception : Exception | Nil = nil)
#