You are here

public function NullLogger::log in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Psr/Log/NullLogger.php \Psr\Log\NullLogger::log()

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

Overrides LoggerInterface::log

File

lib/Psr/Log/NullLogger.php, line 23

Class

NullLogger
This Logger can be used to avoid conditional log calls

Namespace

Psr\Log

Code

public function log($level, $message, array $context = array()) {

  // noop
}