You are here

public function Logger::log in Zircon Profile 8

Same name in this branch
  1. 8 vendor/wikimedia/composer-merge-plugin/src/Logger.php \Wikimedia\Composer\Logger::log()
  2. 8 vendor/symfony/http-kernel/Tests/Logger.php \Symfony\Component\HttpKernel\Tests\Logger::log()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Logger.php \Symfony\Component\HttpKernel\Tests\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 vendor/symfony/http-kernel/Tests/Logger.php
Action must be taken immediately.
Logger::crit in vendor/symfony/http-kernel/Tests/Logger.php
Logger::critical in vendor/symfony/http-kernel/Tests/Logger.php
Critical conditions.
Logger::debug in vendor/symfony/http-kernel/Tests/Logger.php
Detailed debug information.
Logger::emerg in vendor/symfony/http-kernel/Tests/Logger.php

... See full list

File

vendor/symfony/http-kernel/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;
}