Module: Resque::Logging
- Included in:
- Worker
- Defined in:
- lib/resque/logging.rb
Overview
Include this module in classes you wish to have logging facilities
Class Method Summary collapse
-
.debug(message) ⇒ Object
Log level aliases.
- .error(message) ⇒ Object
- .fatal(message) ⇒ Object
- .info(message) ⇒ Object
-
.log(severity, message) ⇒ Object
Thunk to the logger’s own log method (if configured).
- .warn(message) ⇒ Object
Class Method Details
.debug(message) ⇒ Object
Log level aliases
12 |
# File 'lib/resque/logging.rb', line 12 def debug(); Logging.log :debug, ; end |
.error(message) ⇒ Object
15 |
# File 'lib/resque/logging.rb', line 15 def error(); Logging.log :error, ; end |
.fatal(message) ⇒ Object
16 |
# File 'lib/resque/logging.rb', line 16 def fatal(); Logging.log :fatal, ; end |
.info(message) ⇒ Object
13 |
# File 'lib/resque/logging.rb', line 13 def info(); Logging.log :info, ; end |