Monolog\Logger::addError
Adds a log record at the ERROR level.
Signature
public function addError(string
$message,
array
$context )
Parameters
$message
— string- The log message
$context
— array- The log context
Returns
- Boolean
- Whether the record has been processed