Google\Cloud\Logging\PsrLogger::emergency PHP Method

emergency() public method

Example: $psrLogger->emergency('emergency message');
public emergency ( string $message, array $context = [] )
$message string The message to log.
$context array [optional] Please see {@see \Google\Cloud\Logging\PsrLogger::log()} for the available options.
    public function emergency($message, array $context = [])
    {
        $this->log(Logger::EMERGENCY, $message, $context);
    }