term-logger
v1.3.1
Published
A simple & fast logger for better console formatted output!
Downloads
167
Maintainers
Readme
npm install term-logger
yarn add term-logger
error
success
warn
waiting
complete
debug
fatal
info
note
pending
start
watch
critical
ready
command
event
database
shard
cluster
const { Logger } = require("term-logger");
Logger.error(new Error("..."));
Logger.success("...");
// and 17 more logs...
red
green
yellow
blue
purple
cyan
white
gray
const { TextColors } = require("term-logger");
TextColors.red("...");
TextColors.blue("...");
// and 6 more colors...
bold
dim
italic
underline
inverse
hidden
strikethrough
visible
const { TextStyles } = require("term-logger");
TextStyles.italic("...");
TextStyles.underline("...");
// and 7 more text styles...
red
green
yellow
blue
purple
cyan
white
gray
const { BgColors } = require("term-logger");
BgColors.red("...");
BgColors.blue("...");
// and 6 more colors...
red
green
yellow
blue
purple
cyan
white
const { BrightColors } = require("term-logger");
BrightColors.red("...");
BrightColors.blue("...");
// and 6 more colors...