winston logging nodejs example, logger.js could be just used as an module.
Demo for how to setup winston logging for Express server.
- An abstract logging layer
- Read config from YAML file
- Split logs with console and files according to level
- Log format json for prod, but plain-text otherwise
npm install
node index.js