Module: SiteFuel::ClassLogging
- Included in:
- Processor::AbstractProcessor
- Defined in:
- lib/sitefuel/SiteFuelLogger.rb
Overview
module for extending classes and thus giving class methods logging capability
Constant Summary collapse
- @@logger =
SiteFuelLogger.instance
Instance Method Summary collapse
- #debug(*args) ⇒ Object
- #error(*args) ⇒ Object
- #fatal(*args) ⇒ Object
- #info(*args) ⇒ Object
- #warn(*args) ⇒ Object
Instance Method Details
#debug(*args) ⇒ Object
154 |
# File 'lib/sitefuel/SiteFuelLogger.rb', line 154 def debug(*args) @@logger.debug(*args); end |
#error(*args) ⇒ Object
151 |
# File 'lib/sitefuel/SiteFuelLogger.rb', line 151 def error(*args) @@logger.error(*args); end |
#fatal(*args) ⇒ Object
150 |
# File 'lib/sitefuel/SiteFuelLogger.rb', line 150 def fatal(*args) @@logger.fatal(*args); end |
#info(*args) ⇒ Object
153 |
# File 'lib/sitefuel/SiteFuelLogger.rb', line 153 def info(*args) @@logger.info(*args); end |
#warn(*args) ⇒ Object
152 |
# File 'lib/sitefuel/SiteFuelLogger.rb', line 152 def warn(*args) @@logger.warn(*args); end |