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