This package has been deprecated

Author message:

Package is not longer supported. Use at own risk.

more-colorful-logger

1.0.7 • Public • Published

More Colorful Logger

An easy to use, more colorful logger.

Usage

Installation

npm i more-colorful-logger --save

Using in code

usage

with Timestamp without Timestamp
true or by default (no input) false
1 0

Example:

const log = require("more-colorful-logger");

log.error("This is an Error-Log"); // with timestamp
log.warn("This is a Warn-Log", false); // without timestamp
log.info("This is an Info-Log", 0); // without timestamp
log.completed("This is a Completed-Log", 1) // with Timestamp

or use this:

const { error, warn, info } = require("more-colorful-logger");

error("This is an Error-Log");
warn("This is a Warn-Log");
info("This is an Info-Log");

Package Sidebar

Install

npm i more-colorful-logger

Weekly Downloads

7

Version

1.0.7

License

Apache-2.0

Unpacked Size

6.11 kB

Total Files

8

Last publish

Collaborators

  • kokosnuss_dev