0.0.3 • Published 10 months ago

dulllog v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

dulllog

Simple and small logger with console interaction

Usage

import "dullog";

const l = L.extend("MY_SCOPE");

// Prefix and color arguments are optional
l.log("Hello!", "Optional prefix", "rgb(255, 0, 0)");

See example for a more detailed example usage.

You can interact with the logger via Browser Developer Console, e.g. to enable a single logging scope:

L.only(L.MY_SCOPE); // To activate a specific logging scope
L.mute(); // To mute all logging scopes
0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago