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
47 48 49 |
# File 'lib/xlog.rb', line 47 def initialize @xlogger = Xlogger.instance end |
Instance Attribute Details
#xlogger ⇒ Object
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 |