We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9399f08 commit e325793Copy full SHA for e325793
README.md
@@ -47,6 +47,8 @@ The recommended way to use `winston` is to create your own logger. The
47
simplest way to do this is using `winston.createLogger`:
48
49
``` js
50
+const winston = require('winston');
51
+
52
const logger = winston.createLogger({
53
level: 'info',
54
format: winston.format.json(),
0 commit comments