emergency()
emergency(string $message, array $context = array()) : void
System is unusable.
Parameters
string | $message | |
array | $context |
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.
It simply delegates all log-level-specific methods to the log
method to
reduce boilerplate code that a simple Logger that does the same thing with
messages regardless of the error level has to implement.