Kraken\Log\Logger::alert PHP Метод

alert() публичный Метод

This method allows for compatibility with common interfaces.
public alert ( string $message, array $context = [] ) : boolean
$message string
$context array
Результат boolean
    public function alert($message, array $context = array())
    {
        try {
            return $this->logger->alert($message, $context);
        } catch (Error $ex) {
        } catch (Exception $ex) {
        }
        throw new WriteException("Record with debug level could not be logged.", $ex);
    }