public function clearLogHistory($klass = null)
    {
        if (empty($klass))
            $this->history = array();

        if (!isset($this->history[$klass]))
            return;

        $this->history[$klass] = array();
    }