Class: Oboe::Logger
- Inherits:
-
Object
- Object
- Oboe::Logger
- Defined in:
- lib/oboe/logger.rb
Instance Method Summary collapse
-
#debug(msg, exception = nil) ⇒ Object
Debug message.
-
#error(msg, exception = nil) ⇒ Object
Error message.
-
#fatal(string, exception = nil) ⇒ Object
Fatal message.
-
#info(msg, exception = nil) ⇒ Object
Info message.
-
#warn(msg, exception = nil) ⇒ Object
Warn message.
Instance Method Details
#debug(msg, exception = nil) ⇒ Object
Debug message
33 34 35 |
# File 'lib/oboe/logger.rb', line 33 def debug(msg, exception = nil) Oboe.logger.debug(string) if Oboe.logger end |
#error(msg, exception = nil) ⇒ Object
Error message
18 19 20 |
# File 'lib/oboe/logger.rb', line 18 def error(msg, exception = nil) Oboe.logger.error(string) if Oboe.logger end |
#fatal(string, exception = nil) ⇒ Object
Fatal message
13 14 15 |
# File 'lib/oboe/logger.rb', line 13 def fatal(string, exception = nil) Oboe.logger.fatal(string) if Oboe.logger end |