skl

sklog

Super lightweight Node.JS console logging library

Showing:

Popularity

Downloads/wk

3

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

2

Package

Dependencies

0

Size (min+gzip)

15.2KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

sklog is intended to be a lightweight library for console logging. This was born out of laziness - it's very basic and simple to use. I didn't need 95% of the functionality in Winston's logger and I don't care about putting logs in a DB, if you need more functionality then check out Winston's great logger - it's full of features and other cool stuff.

Using SKLOG

From your project directory:

    $ npm install sklog

Within your application:

var log = require("sklog");

log("no loglevel");
log(0,"This is Information");
log(1,"This is a Warning");
log(2,"This is an Error");
log(3,"Non-existant log level");
log(3,{This:"Is an object",And:"I haas keys"});

Outputs:

   [ INFO]: This is Information 
   [ WARN]: This is a Warning 
   [ERROR]: This is an Error 
   [ INFO]: Non-existant log level
   [ INFO]:
        This    :       Is an object
        And     :       I haas keys

Is this All?

Long answer: yes, what more do you need?

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100