class Log::Metadata

Overview

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".

Included Modules

Defined in:

core_ext.cr

Instance Method Summary

Instance Method Detail

def to_json(builder : JSON::Builder) #

[View source]