protected function writeException(\Exception $exception, array $record = array())
    {
        $record = array_merge($this->defautlRecord, $record);
        $this->output->writeln($this->formatter->formatException($exception, $record));
    }