Merge branch 'hotfix/logDate'
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -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 | { |
-
Please register or login to post a comment