Rundiz/Profiler/Console.php
public function registerLogSections(array $sections)
    {
        if (!empty($this->log_sections)) {
            return false;
        }

        foreach ($sections as $section) {
            $this->Profiler->log_sections[$section] = [];
        }

        return true;
    }
public function registerLogSections(array $sections)
    {
        if (!empty($this->log_sections)) {
            return false;
        }

        foreach ($sections as $section) {
            $this->Profiler->log_sections[$section] = [];
        }

        return true;
    }
register log sections.<br>
it is very important! you have to call this before other methods in this class or all log_sections data will be erased.

@param array $sections register log sections by order. suggest: array('Logs', 'Time Load', 'Memory Usage', 'Database', 'Files', 'Session', 'Get', 'Post')