phasync
ConsoleLogger / alert

Method

ConsoleLogger::alert

Action must be taken immediately.

Description#

public ConsoleLogger::alert(
    $message,
    array $context = []
): void

Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

Parameters#

$message
$context array = []