Method: App47Logger.log_warn
- Defined in:
- lib/models/concerns/app47_logger.rb
.log_warn(message, exception = nil) ⇒ Object
Log a warning messages
-
Prints the messages
-
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(, exception = nil) :warn, log_exception :warn, exception end |