public function Logger::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/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php, line 69

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

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