class Log4r::YamlConfigurator
Extension of base Log4r::YamlConfigurator
to enable decoding of a ‘default` attribute in the Yaml definition.
Public Class Methods
decode_outputter( op )
click to toggle source
Decodes an outputter as normal, but also sets @default if it was defined in the given configuration file.
# File lib/easy_log4r/yamlconfigurator.rb, line 12 def self.decode_outputter( op ) orig_decode_outputter(op) Log4r::Outputter[op['name']].default = !!op['default'] end
Also aliased as: orig_decode_outputter