1.0.7 • Published 6 years ago

more-colorful-logger v1.0.7

Weekly downloads
44
License
Apache-2.0
Repository
github
Last release
6 years ago

More Colorful Logger

An easy to use, more colorful logger.

Usage

Installation

npm i more-colorful-logger --save

Using in code

usage

with Timestampwithout Timestamp
true or by default (no input)false
10

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");
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago