コード例 #1
0
ファイル: RudraX.php プロジェクト: rudraks/boot
 public static function time($msg)
 {
     if (self::$timeCounter == null) {
         self::$timeCounter = microtime(true);
     }
     header("X-LOG-TIME-" . ++self::$messageCounter . ": " . "[" . (microtime(true) - self::$timeCounter) . "] " . $msg);
     self::$timeCounter = microtime(true);
 }