Module: Enruby::Configuration::Mixins::Logging
- Included in:
- Base
- Defined in:
- lib/enruby/configuration/mixins/logging.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
9 10 11 |
# File 'lib/enruby/configuration/mixins/logging.rb', line 9 def logger @logger end |
Instance Method Details
#default_logger ⇒ Object
16 17 18 19 20 |
# File 'lib/enruby/configuration/mixins/logging.rb', line 16 def default_logger logger = Logger.new($stdout) logger.level = Logger::INFO logger end |
#initialize ⇒ Object
11 12 13 14 |
# File 'lib/enruby/configuration/mixins/logging.rb', line 11 def initialize super @logger = default_logger end |