ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NullLogger.php
Go to the documentation of this file.
1<?php
2
3namespace Psr\Log;
4
14{
24 public function log($level, $message, array $context = array())
25 {
26 // noop
27 }
28}
An exception for terminatinating execution or to throw for unit testing.
This is a simple Logger implementation that other Loggers can inherit from.
This Logger can be used to avoid conditional log calls.
Definition: NullLogger.php:14
log($level, $message, array $context=array())
Logs with an arbitrary level.
Definition: NullLogger.php:24
catch(Exception $e) $message
$context
Definition: webdav.php:25