Runtime errors that do not require immediate action but should typically be logged and monitored.
string $message:
array $context:
null
Overrides LoggerInterface::error
public function error($message, array $context = array()) {
$this
->log('error', $message, $context);
}