public function AbstractLogger::warning

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::warning

File

drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php, line 78

Class

AbstractLogger
This is a simple Logger implementation that other Loggers can inherit from.

Namespace

Psr\Log

Code

public function warning($message, array $context = array()) {
  $this
    ->log(LogLevel::WARNING, $message, $context);
}