class Traces::Backend::Console::Span

A span which validates tag assignment.

def []= key, value

@parameter value [Object] The metadata value. Should be coercable to a string.
@parameter key [String] The metadata key.
Assign some metadata to the span.
def []= key, value
	::Console.logger.info(@context, @name, "#{key} = #{value}")
end

def initialize(context, name)

@parameter name [String] A useful name/annotation for the recorded span.
@parameter context [Context] The context in which the span is recorded.
Initialize a new span.
def initialize(context, name)
	@context = context
	@name = name
end