Module: EXEL::LoggingHelper
- Included in:
- Processors::SplitProcessor
- Defined in:
- lib/exel/logging_helper.rb
Overview
Logging related helper methods for processors
Instance Method Summary collapse
-
#log_debug(message) ⇒ Object
Logs a message with DEBUG severity.
-
#log_error(message) ⇒ Object
Logs a message with ERROR severity.
-
#log_fatal(message) ⇒ Object
Logs a message with FATAL severity.
-
#log_info(message) ⇒ Object
Logs a message with INFO severity.
-
#log_warn(message) ⇒ Object
Logs a message with WARN severity.
-
#logger ⇒ Logger
Returns the EXEL logger.
Instance Method Details
#log_debug(message) ⇒ Object
Logs a message with DEBUG severity
12 13 14 |
# File 'lib/exel/logging_helper.rb', line 12 def log_debug() logger.debug() end |
#log_error(message) ⇒ Object
Logs a message with ERROR severity
27 28 29 |
# File 'lib/exel/logging_helper.rb', line 27 def log_error() logger.error() end |
#log_fatal(message) ⇒ Object
Logs a message with FATAL severity
32 33 34 |
# File 'lib/exel/logging_helper.rb', line 32 def log_fatal() logger.fatal() end |
#log_info(message) ⇒ Object
Logs a message with INFO severity
17 18 19 |
# File 'lib/exel/logging_helper.rb', line 17 def log_info() logger.info() end |
#log_warn(message) ⇒ Object
Logs a message with WARN severity
22 23 24 |
# File 'lib/exel/logging_helper.rb', line 22 def log_warn() logger.warn() end |