abstract public function LoggerTrait::log

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

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

... See full list

File

drupal/core/vendor/psr/log/Psr/Log/LoggerTrait.php, line 130

Class

LoggerTrait
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.

Namespace

Psr\Log

Code

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