You are here

public function LoggerInterface::warning in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface::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

2 methods override LoggerInterface::warning()
AbstractLogger::warning in lib/Psr/Log/AbstractLogger.php
Exceptional occurrences that are not errors.
LoggerBase::warning in src/Logger/LoggerBase.php
Exceptional occurrences that are not errors.

File

lib/Psr/Log/LoggerInterface.php, line 74

Class

LoggerInterface
Describes a logger instance

Namespace

Psr\Log

Code

public function warning($message, array $context = array());