Class: Xlog::Config
- Inherits:
-
Object
- Object
- Xlog::Config
- Defined in:
- lib/xlog.rb
Instance Attribute Summary collapse
-
#xlogger ⇒ Object
Returns the value of attribute xlogger.
Instance Method Summary collapse
- #custom_logger=(logger) ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
49 50 51 |
# File 'lib/xlog.rb', line 49 def initialize @xlogger = Xlogger.instance end |
Instance Attribute Details
#xlogger ⇒ Object
Returns the value of attribute xlogger.
47 48 49 |
# File 'lib/xlog.rb', line 47 def xlogger @xlogger end |
Instance Method Details
#custom_logger=(logger) ⇒ Object
53 54 55 |
# File 'lib/xlog.rb', line 53 def custom_logger=(logger) xlogger.custom_logger = logger end |