struct

Tracing::Targets::Directive

Inherits Struct < Value < Object

A single target/level directive. A nil target is the default directive, applied to spans and events whose target matched no other directive.

Constructors

new(target : String | Nil, level : LevelFilter)
Source

Instance methods

cares_about_target?(to_check : String) : Bool
Source
clone
Source
copy_with(target _target = @target, level _level = @level)
Source
level
target