Dev #5

Merged
sixteenmillimeter merged 8 commits from dev into master 2019-02-23 23:09:15 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 2be63972b2 - Show all commits

View File

@ -14,7 +14,7 @@ function createLog (label, filename = null) {
if (filename !== null) { if (filename !== null) {
transports.push( new (winston.transports.File)({ label : label, filename : filename }) ) transports.push( new (winston.transports.File)({ label : label, filename : filename }) )
} }
return new (winston.Logger)({ return new (winston.createLogger)({
transports: transports transports: transports
}) })
} }