Class: Iravat::IrLogInitializer
- Inherits:
-
Object
- Object
- Iravat::IrLogInitializer
- Includes:
- Log4r
- Defined in:
- lib/logger/ir_log_initializer.rb
Overview
require ‘./ir_module’
Class Method Summary collapse
Class Method Details
.init ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/logger/ir_log_initializer.rb', line 9 def self.init() begin Configurator['logpath'] = IRAVAT_LOG_PATH # was './logs' Configurator.load_xml_file(IRAVAT_LOG_CONFIG_XML) rescue Log4r::ConfigError => e puts "Error in configuration log4r ==== " + e. end end |