@f0c1s/node-common-log-lib
v2022.3.23
Published
A simple logging library.
Downloads
5
Readme
@f0c1s/node-common-log-lib
A simple logging library.
Installation
npm i @f0c1s/node-common-log-lib
Usage
const {default: log, TypesEnum} = require('@f0c1s/node-common-log-lib')
log('>>some tag from @f0c1s/node-common-log-tag>', "Some message!", TypesEnum.INFO)
// >>some tag from @f0c1s/node-common-log-tag> Some message!
log('>>some tag from @f0c1s/node-common-log-tag>', "Some message!", TypesEnum.ERROR)
// >>some tag from @f0c1s/node-common-log-tag> Some message!
// Exiting application on ERROR
// Exiting application on ERROR