protected function assignAttributes()
    {
        $bodyParsed                       = $this->parser->parseLogBody($this->attributes['body']);
        $this->attributes['context']      = $bodyParsed['context'];
        $this->attributes['stack_traces'] = $bodyParsed['stack_traces'];

        $this->setId($this->generateId());
        $this->setDate($this->attributes['date']);
        $this->setEnvironment($this->attributes['environment']);
        $this->setLevel($this->attributes['level']);
        $this->setFilePath($this->attributes['file_path']);
        $this->setContext($this->attributes['context']);
        $this->setStackTraces($this->attributes['stack_traces']);
    }