public function listLog($level = Logger::LOG_LEVEL_ALL, $includeContext = true, $time = 0)
    {
        $list = $this->logFile->listLog($level, $time);
        $result = [];
        foreach ($list as $entry) {
            if (isset($entry['dumpfile'])) {

                if ($includeContext) {
                    /** @var DumpFile $dumpFile */
                    $dumpFile = $entry['dumpfile'];

                    $entry['context'] = $dumpFile->getUnSerializedContent()[0];
                }


                unset($entry['dumpfile']);

            }
            $result[] = $entry;

        }

        return $result;
    }