/** * @{inheritDoc} * * @param $record array * @return void */ public function write(array $record) { if (isset($record['context']['is_exception']) && $record['context']['is_exception']) { unset($record['context']['is_exception']); $this->exceptionHandler->handle($record); } else { unset($record['context']['is_exception']); $record['formatted'] = $this->getFormatter()->format($record); parent::write($record); } }
/** * @param DriverInterface $filesystem * @param string $filePath */ public function __construct(DriverInterface $filesystem, $filePath = null) { parent::__construct($filesystem, $filePath); }
/** * @{inheritDoc} * * @param $record array * @return void */ public function write(array $record) { parent::write($record); }
/** * @{inheritDoc} * * @param $record array * @return void */ public function write(array $record) { $record['formatted'] = $record['message']; parent::write($record); }