Kraken\Log\Logger::warning PHP Method

warning() public method

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