Class: Skiima::Logger
- Inherits:
-
Object
- Object
- Skiima::Logger
- Extended by:
- Forwardable
- Defined in:
- lib/skiima/logger.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#logging_level ⇒ Object
Returns the value of attribute logging_level.
-
#logging_out ⇒ Object
Returns the value of attribute logging_out.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(opts = {}) ⇒ Logger
Returns a new instance of Logger.
14 15 16 17 18 |
# File 'lib/skiima/logger.rb', line 14 def initialize(opts = {}) @logging_out = get_logger_out(opts[:logging_out]) @logging_level = get_logger_level(opts[:logging_level]) create_logger end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
12 13 14 |
# File 'lib/skiima/logger.rb', line 12 def logger @logger end |
#logging_level ⇒ Object
Returns the value of attribute logging_level.
12 13 14 |
# File 'lib/skiima/logger.rb', line 12 def logging_level @logging_level end |
#logging_out ⇒ Object
Returns the value of attribute logging_out.
12 13 14 |
# File 'lib/skiima/logger.rb', line 12 def logging_out @logging_out end |