Class: Log4r::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/log4r/core_ext/logger.rb

Overview

Log4r::Logger extension

Instance Method Summary collapse

Constructor Details

#initialize(_fullname, _level = nil, _additive = false, _trace = false) ⇒ Logger

Creates a Log4r::Logger

See log4r/logger.rb



14
15
16
# File 'lib/log4r/core_ext/logger.rb', line 14

def initialize(_fullname, _level=nil, _additive=false, _trace=false)
  previous_initialize _fullname, _level, _additive, _trace
end

Instance Method Details

#previous_initializeObject

Original Log4r::Logger initializer



9
# File 'lib/log4r/core_ext/logger.rb', line 9

alias_method :previous_initialize, :initialize