public function NullLogger::log

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

Overrides LoggerInterface::log

File

drupal/core/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
}