Skip to content

SuperDizor/log-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log-print

Simple log system with colors, timestamp and type

alt text

Using example

const log = require("./lib/print");

log.print("info-blue", "info", "blue");
log.print("debug-blue", "debug", "blue");
log.print("warn-blue", "warn", "blue");
log.print("error-blue", "error", "blue");

Arguments

  • text - text
  • type - info, debug, warn, error
  • color - red, blue, yellow, green, cyan, magenta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors