public function AbstractLogger::error in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::error()
- 8.2 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::error()
Runtime errors that do not require immediate action but should typically be logged and monitored.
Parameters
string $message:
array $context:
Return value
void
Overrides LoggerInterface::error
File
- vendor/
psr/ log/ Psr/ Log/ AbstractLogger.php, line 67
Class
- AbstractLogger
- This is a simple Logger implementation that other Loggers can inherit from.
Namespace
Psr\LogCode
public function error($message, array $context = array()) {
$this
->log(LogLevel::ERROR, $message, $context);
}