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);
}