Class: Makara::Logging::Logger
- Inherits:
-
Object
- Object
- Makara::Logging::Logger
- Defined in:
- lib/makara/logging/logger.rb
Class Method Summary collapse
Class Method Details
.log(msg, format = :error) ⇒ Object
7 8 9 |
# File 'lib/makara/logging/logger.rb', line 7 def log(msg, format = :error) logger.send(format, msg) if logger end |
.logger ⇒ Object
11 12 13 |
# File 'lib/makara/logging/logger.rb', line 11 def logger @logger end |
.logger=(l) ⇒ Object
15 16 17 |
# File 'lib/makara/logging/logger.rb', line 15 def logger=(l) @logger = l end |