CI_Log::_format_line PHP Method

_format_line() protected method

This is for extensibility of log formatting If you want to change the log format, extend the CI_Log class and override this method
protected _format_line ( string $level, string $date, $message ) : string
$level string The error level
$date string Formatted date string
return string Formatted log line with a new line character '\n' at the end
    protected function _format_line($level, $date, $message)
    {
        return $level . ' - ' . $date . ' --> ' . $message . "\n";
    }