You are here

public function LoggerInterface::alert in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/log/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 vendor/psr/log/Psr/Log/AbstractLogger.php
Action must be taken immediately.
Logger::alert in vendor/symfony/http-kernel/Tests/Logger.php
Action must be taken immediately.

File

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

Class

LoggerInterface
Describes a logger instance

Namespace

Psr\Log

Code

public function alert($message, array $context = array());