An exception for terminatinating execution or to throw for unit testing.
This is a simple Logger implementation that other Loggers can inherit from.
The MockLogger is a simple PSR-3 implementation that we can use to test whether things get logged cor...
log($level, $message, array $context=[])
Logs with an arbitrary level.
catch(Exception $e) $message