public function getLogsLevel()
    {
        $levels = $this->createQueryBuilder()
                       ->select('l.level, l.level_name, COUNT(l.id) AS count')
                       ->from($this->tableName, 'l')
                       ->groupBy('l.level, l.level_name')
                       ->orderBy('l.level', 'DESC')
                       ->execute()
                       ->fetchAll();

        $normalizedLevels = array();
        foreach ($levels as $level) {
            $normalizedLevels[$level['level']] = sprintf('%s (%s)', $level['level_name'], $level['count']);
        }

        return $normalizedLevels;
    }