This example shows you how to customize logger.
Check now the source code! You will find all the info there in the comments.
You can run this project simply by:
cd winston-logger
npm i
npm start
NOTE: give a look also to the package.json
to find out how the scripts are done 😉