Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
824310d407cbbbd4cd04dbcba8d2852dccdbaa8a
2 parents
4be55c30
a9570614
Merge branch 'hotfix/logDate' into hotfix/mktCodeLen
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Plugin/UdpLog.php
library/Plugin/UdpLog.php
View file @
824310d
...
...
@@ -71,7 +71,7 @@ class UdpLog
*/
private
static
function
fileLog
(
$level
,
$message
)
{
$filename
=
$level
.
'-h5
-'
.
date
(
'Ymd'
,
time
())
.
'
.log'
;
//日志文件
$filename
=
$level
.
'-h5.log'
;
//日志文件
$logFile
=
self
::
createPath
(
self
::
$filePath
,
$filename
);
if
(
!
file_exists
(
self
::
$filePath
))
//判断文件路径是否存在
{
...
...
Please
register
or
login
to post a comment