public function hasLog()
    {
        $entryCountInitial = $this->debug->getData('entryCountInitial');
        $entryCountCurrent = $this->debug->getData('log/__count__');
        $haveLog = $entryCountCurrent > $entryCountInitial;
        $lastEntryMethod = $this->debug->getData('log/__end__/0');
        return $haveLog && $lastEntryMethod !== 'clear';
    }