mini\Logger\ScopedLogger::alert() Method

public

Signature

public function alert(Stringable|string $message, array $context = array (
)): void

Parameters

Name Type Default Description
$message Stringable|string required Documentation missing
$context array array ( ) Documentation missing

Returns

void

Documentation

Action must be taken immediately.

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

Source

LoggerTrait.php:29-32