public function getRawLog($clean = false)
    {
        $raw = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);
        if ($this->err) {
            $raw->err = $this->err;
        }
        if ($this->war) {
            $raw->war = $this->war;
        }
        if ($this->msg) {
            $raw->msg = $this->msg;
        }
        if ($this->deb) {
            $raw->deb = $this->deb;
        }
        if ($clean) {
            $this->cleanLog();
        }

        return $raw;
    }