struct

Tracing::Core::Metadata

Inherits Struct < Value < Object

Metadata describing a span or event.

Constructors

new(name : String, target : String, level : Level, file : String | Nil = nil, line : UInt32 | Nil = nil, module_path : String | Nil = nil, fields : Field::FieldSet = Field::FieldSet.new, kind : Kind = Kind::SPAN)
Source

Instance methods

==(other : Metadata) : Bool
Source
callsite
Source
event?
Source
fields
Source
file
Source
kind
Source
level
Source
line
Source
module_path
Source
name
Source
private_fake_field
Source
span?
Source
target
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source