struct
Azu::AsyncLogging::LogEntry
- Azu::AsyncLogging::LogEntry
- Struct
- Value
- Object
Overview
Structured log entry with metadata
Defined in:
azu/log_format.crConstructors
Instance Method Summary
- #context : Hash(String, String) | Nil
- #exception : Exception | Nil
- #message : String
- #request_id : String | Nil
- #severity : Log::Severity
- #source : String
- #timestamp : Time
- #to_json(json : JSON::Builder)
Constructor Detail
def self.new(timestamp : Time, severity : Log::Severity, message : String, context : Nil | Hash(String, String) = nil, exception : Exception | Nil = nil, source : String = "azu", request_id : Nil | String = nil)
#