You are here

public function LoggerInterface::alert in TMGMT Translator Smartling 8.4

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

void

2 methods override LoggerInterface::alert()
AbstractLogger::alert in vendor/psr/log/Psr/Log/AbstractLogger.php
Action must be taken immediately.
DevNullLogger::alert in vendor/smartling/api-sdk-php/src/Logger/DevNullLogger.php
Action must be taken immediately.

File

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

Class

LoggerInterface
Describes a logger instance.

Namespace

Psr\Log

Code

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