0.0.6 • Published 6 years ago

cosmicvelocity-logging-js v0.0.6

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

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

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago