Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Azu::AsyncLogging::LogEntry
Inherits
Struct
<
Value
<
Object
Structured log entry with metadata
Constructors
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)
Source
Instance methods
context
Source
exception
Source
message
Source
request_id
Source
severity
Source
source
Source
timestamp
Source
to_json
(json :
JSON::Builder
)
Source