Authored by 周少峰

Merge branch 'hotfix/logDate'

@@ -82,7 +82,8 @@ class UdpLog @@ -82,7 +82,8 @@ class UdpLog
82 */ 82 */
83 private static function fileLog($level, $message) 83 private static function fileLog($level, $message)
84 { 84 {
85 - $filename = $level .'-pc-' . date('Ymd', time()). '.log'; //日志文件 85 +// $filename = $level .'-pc-' . date('Ymd', time()). '.log'; //日志文件
  86 + $filename = $level .'-pc.log'; //日志文件
86 $logFile = self::createPath(self::$filePath, $filename); 87 $logFile = self::createPath(self::$filePath, $filename);
87 if (!file_exists(self::$filePath))//判断文件路径是否存在 88 if (!file_exists(self::$filePath))//判断文件路径是否存在
88 { 89 {