public function LoggerInterface::log

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

8 calls to LoggerInterface::log()
AbstractLogger::alert in drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php
Action must be taken immediately.
AbstractLogger::critical in drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php
Critical conditions.
AbstractLogger::debug in drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php
Detailed debug information.
AbstractLogger::emergency in drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php
System is unusable.
AbstractLogger::error in drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php
Runtime errors that do not require immediate action but should typically be logged and monitored.

... See full list

2 methods override LoggerInterface::log()
Logger::log in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php
Logs with an arbitrary level.
NullLogger::log in drupal/core/vendor/psr/log/Psr/Log/NullLogger.php
Logs with an arbitrary level.

File

drupal/core/vendor/psr/log/Psr/Log/LoggerInterface.php, line 113

Class

LoggerInterface
Describes a logger instance

Namespace

Psr\Log

Code

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