Essa é uma versão que aplica a RFC de logs usando bibliotecas externas em sua implementação. Não tem problema usar essa versão, porém, recomenda-se o uso dessa bibiloteca lib-node-logger
Node Js Logger is a library to facility and standardize the way of logs works in nodejs projects at madeiramadeira, following the MMRFC rules.
To use the library, you need to install with NPM or YARN:
$ yarn add mm-nodejs-logger
$ npm install mm-nodejs-logger
To run the tests, run the commands below:
# running the tests
$ npm run test
To view examples of how to use the library, click on the following link: Doc.