3.0.0 • Published 2 years ago

ampelog v3.0.0

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
2 years ago

ampelog

Simple, pretty, traffic-light logger

ampelog is an incredably lightweight traffic-light pattern logger, only a single, 7-element object in memory.

Example

ampelog=require('ampelog');

ampelog.err('This is an error');
ampelog.inf('The process ran succesfully');
ampelog.wrn('You forgot to brush your teeth.');

Commands

inf

Prints green, bold INF: next to the output. It's intended use is successful processes.

wrn

Prints yellow, bold WRN: next to the output. It's intended use is non-fatal errors and warnings.

err

Prints red, bold ERR: next to the output. It's intended use is fatal errors.

3.0.0

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago