Class: Origami::XDP::Packet::Config::Threshold

Inherits:
Origami::XFA::ConfigElement show all
Defined in:
lib/origami/xfa/config.rb

Constant Summary collapse

TRACE =
"trace"
ERROR =
"error"
INFORMATION =
"information"
WARN =
"warn"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(threshold = TRACE) ⇒ Threshold

Returns a new instance of Threshold.



399
400
401
402
403
# File 'lib/origami/xfa/config.rb', line 399

def initialize(threshold = TRACE)
    super('threshold')

    self.text = threshold
end