public function Logger::log

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

Overrides LoggerInterface::log

12 calls to Logger::log()
Logger::alert in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php
Action must be taken immediately.
Logger::crit in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php
Logger::critical in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php
Critical conditions.
Logger::debug in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php
Detailed debug information.
Logger::emerg in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php

... See full list

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Logger.php, line 44

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function log($level, $message, array $context = array()) {
  $this->logs[$level][] = $message;
}