@f0c1s/node-common-log-lib
TypeScript icon, indicating that this package has built-in type declarations

2022.3.23 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @f0c1s/node-common-log-lib

Weekly Downloads

1

Version

2022.3.23

License

MIT

Unpacked Size

15.9 kB

Total Files

15

Last publish

Collaborators

  • iamanubhavsaini
  • sainianubhav