You are here

public function LoggerInterface::log in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/log/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface::log()

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

null

8 calls to LoggerInterface::log()
AbstractLogger::alert in vendor/psr/log/Psr/Log/AbstractLogger.php
Action must be taken immediately.
AbstractLogger::critical in vendor/psr/log/Psr/Log/AbstractLogger.php
Critical conditions.
AbstractLogger::debug in vendor/psr/log/Psr/Log/AbstractLogger.php
Detailed debug information.
AbstractLogger::emergency in vendor/psr/log/Psr/Log/AbstractLogger.php
System is unusable.
AbstractLogger::error in vendor/psr/log/Psr/Log/AbstractLogger.php
Runtime errors that do not require immediate action but should typically be logged and monitored.

... See full list

3 methods override LoggerInterface::log()
ConsoleLogger::log in vendor/symfony/console/Logger/ConsoleLogger.php
Logs with an arbitrary level.
Logger::log in vendor/symfony/http-kernel/Tests/Logger.php
Logs with an arbitrary level.
NullLogger::log in vendor/psr/log/Psr/Log/NullLogger.php
Logs with an arbitrary level.

File

vendor/psr/log/Psr/Log/LoggerInterface.php, line 113

Class

LoggerInterface
Describes a logger instance

Namespace

Psr\Log

Code

public function log($level, $message, array $context = array());