Module: Pal::Log
- Included in:
- Configuration, Handler::Base, Handler::GenericCSVHandlerImpl, Handler::Manager, Main, Operation::Actions, Operation::BaseExportHandler, Operation::CSVProcessor, Operation::Exporter, Operation::Projection, Plugin, Plugin::PluginManager
- Defined in:
- lib/pal/log.rb
Instance Method Summary collapse
- #log_debug(message) ⇒ Object
- #log_error(message, exception = nil) ⇒ Object
- #log_info(message) ⇒ Object
- #log_warn(message) ⇒ Object
Instance Method Details
#log_debug(message) ⇒ Object
8 9 10 |
# File 'lib/pal/log.rb', line 8 def log_debug() Pal.logger.debug() end |
#log_error(message, exception = nil) ⇒ Object
24 25 26 27 |
# File 'lib/pal/log.rb', line 24 def log_error(, exception=nil) Pal.logger.error() Pal.logger.error(exception.backtrace.join("\n")) unless exception.nil? end |