src/Logger.php
protected function format(
		string $timestamp, string $levelstr, string $msg
	) {
		$fmt = "[%s] %s: %s\n";
		return sprintf($fmt, $timestamp, $levelstr, $msg);
	}
protected function format(
		string $timestamp, string $levelstr, string $msg
	) {
		$fmt = "[%s] %s: %s\n";
		return sprintf($fmt, $timestamp, $levelstr, $msg);
	}
protected function format ( string $ timestamp , string $ levelstr , string $ msg ) { $ fmt = "[%s] %s: %s\n" ; return sprintf ( $ fmt , $ timestamp , $ levelstr , $ msg ) ; }
Log line formatter.

Patch this to customize line format or add additional
information.

@param string $timestamp Timestamp, always in UTC ISO-8601.
@param string $levelstr String representation of current log
level, e.g. `DEB` for debug.
@param string $msg Error message.
@return string Formatted line.
Log line formatter .