Log::Metadata
Inherits Enumerable < Reference < Object
Immutable structured metadata information for logging.
See Log.context, Log.context=, Log::Context#clear, Log::Context#set, Log.with_context, and Log::Emitter.
NOTE: If you'd like to format the context as JSON, remember to require "log/json".
Instance methods
to_json(builder : JSON::Builder)
Source