Skip to content

Commit 42bf1e9

Browse files
committed
revert: use winston@2 for pretty printing
1 parent 82a5d28 commit 42bf1e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/logger/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ winston.addColors({
1515
error: 'red',
1616
warn: 'yellow'
1717
})
18-
const logger = winston.createLogger({
18+
const logger = new winston.Logger({
1919
transports: [
2020
new winston.transports.Console(options)
2121
]

packages/logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"url": "https://github.com/staeco/modules/issues"
2121
},
2222
"dependencies": {
23-
"winston": "^3.2.1"
23+
"winston": "2"
2424
}
2525
}

0 commit comments

Comments
 (0)