Tracing::Core::Event
Represents a single event within a trace.
Constructors
new(metadata : Metadata, values : Field::ValueSet = Field::ValueSet.new, parent : Parent = Parent::CURRENT)
SourceInstance methods
contextual?
Sourcedispatch
Sourcehas_explicit_parent?
Sourcemetadata
Sourceparent
Sourcerecord(visitor : Field::Visit) : Nil
Sourceroot?
SourceAppends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
values
Source