public function LoggerInterface::error in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface::error()
Runtime errors that do not require immediate action but should typically be logged and monitored.
Parameters
string $message:
array $context:
Return value
null
2 methods override LoggerInterface::error()
- AbstractLogger::error in lib/
Psr/ Log/ AbstractLogger.php - Runtime errors that do not require immediate action but should typically be logged and monitored.
- LoggerBase::error in src/
Logger/ LoggerBase.php - Runtime errors that do not require immediate action but should typically be logged and monitored.
File
- lib/
Psr/ Log/ LoggerInterface.php, line 62
Class
- LoggerInterface
- Describes a logger instance
Namespace
Psr\LogCode
public function error($message, array $context = array());