You are here

public function LoggerInterface::log in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/psr/log/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface::log()
  2. 8.2 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

void

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()
DevNullLogger::log in vendor/smartling/api-sdk-php/src/Logger/DevNullLogger.php
Logs with an arbitrary level.
NullLogger::log in vendor/psr/log/Psr/Log/NullLogger.php
Logs with an arbitrary level.
TestLogger::log in vendor/psr/log/Psr/Log/Test/TestLogger.php
@inheritdoc

File

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

Class

LoggerInterface
Describes a logger instance.

Namespace

Psr\Log

Code

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