예제 #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);
 }