Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
513ee00c1891ea48676e8d825c229e31e685401b
1 parent
fccbc88a
fix logger bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/logger.js
library/logger.js
View file @
513ee00
...
...
@@ -14,8 +14,8 @@
let
logger
=
new
(
winston
.
Logger
)({
transports
:
[
//new (FileTransport)(config.loggers.infoFile),
//new (FileTransport)(config.loggers.errorFile),
// new (FileTransport)(config.loggers.infoFile),
// new (FileTransport)(config.loggers.errorFile),
new
(
winston
.
transports
.
UdpTransport
)(
config
.
loggers
.
udp
),
new
(
winston
.
transports
.
Console
)(
config
.
loggers
.
console
)
]
...
...
Please
register
or
login
to post a comment