class Log4r::Configurator
Extension of base Log4r::Configurator
to enable decoding of a ‘default` attribute in the XML definition.
Public Class Methods
decode_outputter(e)
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/configurator.rb, line 12 def self.decode_outputter(e) orig_decode_outputter(e) Log4r::Outputter[e.value_of('name')].default = !!e.value_of('default') end
Also aliased as: orig_decode_outputter