cosmicvelocity-logging-js
v0.0.6
Published
It is a lightweight logging library.
Downloads
2
Readme
logging-js
It is a lightweight logging library.
Installation
Using npm:
$ npm i -D @cosmicvelocity/logging-js
How to use
import Logger from 'logging-js';
class Sample {
constructor() {
this._logger = Logger.getLogger(this);
}
hello() {
this._logger.info('Hello !!');
}
}
const sample = new Sample();
sample.hello();
// [INFO] Sample Hello !!
License
Apache 2.0