public function LoggerInterface::alert in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface::alert()
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
Parameters
string $message:
array $context:
Return value
null
2 methods override LoggerInterface::alert()
- AbstractLogger::alert in lib/
Psr/ Log/ AbstractLogger.php - Action must be taken immediately.
- LoggerBase::alert in src/
Logger/ LoggerBase.php - Action must be taken immediately.
File
- lib/
Psr/ Log/ LoggerInterface.php, line 41
Class
- LoggerInterface
- Describes a logger instance
Namespace
Psr\LogCode
public function alert($message, array $context = array());