Morgan is one of the main logger middleware services used in Node and Express servers.
simply add it to the app.use()
use morgan and pass in the type of logging you want it to do. see the source documentation for each option.
winston will replace console.log() in your api, so instead of console.log() you will use winston.log() and it will provide you with more detailed data about the request.
see the documentation