Class: Log4r::Logger
- Inherits:
-
Object
- Object
- Log4r::Logger
- Defined in:
- lib/drive_time/logging.rb
Instance Method Summary collapse
Instance Method Details
#log_as_header(message) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/drive_time/logging.rb', line 5 def log_as_header() puts "\n" info "==============================================================================" info "#{}" info '==============================================================================' end |
#log_as_sub_header(message) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/drive_time/logging.rb', line 12 def log_as_sub_header() puts "\n" if self.level <= DEBUG debug "--------------------------------------------------------------------------------" debug " #{}" debug '--------------------------------------------------------------------------------' end |