Rundiz/Profiler/Console.php
public function log($logtype, $data, $file = '', $line = '')
    {
        $data = [
            'logtype' => $logtype,
            'data' => $data,
        ];

        $this->writeLogSections('Logs', $data, $file, $line);
    }
public function log($logtype, $data, $file = '', $line = '')
    {
        $data = [
            'logtype' => $logtype,
            'data' => $data,
        ];

        $this->writeLogSections('Logs', $data, $file, $line);
    }
write normal logs.

@param string $logtype accept debug, info, notice, warning, error, critical, alert, emergency. referrer: http://www.php-fig.org/psr/psr-3/
@param mixed $data log data.
@param string $file path to file where it calls logger. (optional).
@param integer $line number of line in that file that calls logger. (optional).