This package has been deprecated

Author message:

Functionality merged into ampelstatus package.

ampelog

3.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ampelog

Weekly Downloads

0

Version

3.0.0

License

LGPL-3.0-or-later

Unpacked Size

2.48 kB

Total Files

5

Last publish

Collaborators

  • atlas69