Skip to content
This repository was archived by the owner on Feb 21, 2021. It is now read-only.

LEDBrain/more-colorful-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Logger with colors

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors