Method: App47Logger.log_warn

Defined in:
lib/models/concerns/app47_logger.rb

.log_warn(message, exception = nil) ⇒ Object

Log a warning messages

  1. Prints the messages

  2. If an exception is passed n

2a prints the exception message
2b prints the stack trace


38
39
40
41
# File 'lib/models/concerns/app47_logger.rb', line 38

def self.log_warn(message, exception = nil)
  log_message :warn, message
  log_exception :warn, exception
end