Class: Xlog::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/xlog.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig



47
48
49
# File 'lib/xlog.rb', line 47

def initialize
  @xlogger = Xlogger.instance
end

Instance Attribute Details

#xloggerObject

Returns the value of attribute xlogger.



45
46
47
# File 'lib/xlog.rb', line 45

def xlogger
  @xlogger
end

Instance Method Details

#custom_logger=(logger) ⇒ Object



51
52
53
# File 'lib/xlog.rb', line 51

def custom_logger=(logger)
  xlogger.custom_logger = logger
end