You are here

public function NullLogger::log in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/log/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

vendor/psr/log/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
}