@tsw38/custom-logger
v2.0.5
Published
Custom console logger
Downloads
6
Readme
Custom Logger
How to install:
npm i @tsw38/custom-logger
How to use:
const {log} = require('@tsw38/custom-logger');
log('Hello World');
Log options:
The second argument is an options object:
| Name | Type | Default value | | --------- | ------------------------------------------ | ------------- | | header | string | "" | | delimitor | string | "=" | | type | "error | info | warning | success" | "info" |