format('Y-m-d H:i:s.u')], $template ); } /** * Apache Common Log Format. * * @param string $formatter * * @link http://httpd.apache.org/docs/2.4/logs.html#common * @see \GuzzleHttp\MessageFormatter */ public static function setLogFormat($formatter) { self::$logFormat = $formatter; } /** * @return float|mixed */ private static function getCost() { return microtime(true) - self::$logStartTime; } }