Method: App47Logger.log_warn
- Defined in:
- lib/app/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
2b prints the stack trace
36 37 38 39 |
# File 'lib/app/models/concerns/app47_logger.rb', line 36 def self.log_warn(, exception = nil) :warn, log_exception :warn, exception end |