Class: Janus::Logging::Logger
- Inherits:
-
Object
- Object
- Janus::Logging::Logger
- Defined in:
- lib/janus-ar/logging/logger.rb
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
11 12 13 |
# File 'lib/janus-ar/logging/logger.rb', line 11 def logger @logger end |
Class Method Details
.log(message, format = :info) ⇒ Object
7 8 9 |
# File 'lib/janus-ar/logging/logger.rb', line 7 def log(, format = :info) logger&.send(format, "[Janus] #{}") end |