0.0.1 • Published 4 years ago

biapp-logger v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Biapp-logger

This project contains the logger configuration and logic in order to share between all our apis the same logging methodology. There are two different loggers on this project:

Morgan

This is a logger for the http request, automatically the info of each http request is printed on the console with the defined format

Winston

This is a logger to print logs on the console and a file. This logger has to be invoked and is set to print through the console all the logs levels, but on the file just levels avobe warning ('warn' and 'error').

Getting started

After performing you changes: 1. Commit your changes 2. Increase the semver npm version patch 3. Build the project to compile the typescript npm run build 4. Publish to artifact npm publish