Need private packages and team management tools?Check out npm Teams »

verbose-zero

1.0.4 • Public • Published

VERBOSE-ZERO

A simple, dependency-free verbose Javascript logging tool.

Does not require NodeJS but works well with it.

INSTALL

# stable 
npm install verbose-zero
 
# latest 
npm install @mdombrock/verbose-zero

USAGE

//require verbose-zero
const v = require('verbose-zero');
//log a message
v.log("This is a message");
//log multiple messages with one line by sending an array to logm()
v.logm(["This is a multi-part message",Date.now()]);

TOGGLING VERBOSE OUTPUT

Verbose logging is on by default. You can disable or re-enable it at run-time.

//disable verbose logging
v.disable();
//re-enable verbose logging
v.enable();

Keywords

none

Install

npm i verbose-zero

DownloadsWeekly Downloads

0

Version

1.0.4

License

GPL 3

Unpacked Size

37.5 kB

Total Files

5

Last publish

Collaborators

  • avatar