You are here

public function NullLogger::log in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 vendor/psr/log/Psr/Log/NullLogger.php \Psr\Log\NullLogger::log()
  2. 8.3 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

void

Overrides LoggerInterface::log

File

vendor/psr/log/Psr/Log/NullLogger.php, line 24

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
}