Authored by 周少峰

Merge branch 'hotfix/logDate'

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