openpgp4fpr:0B0F7A231A84F7EE9B8128CABEBCAB631F88D239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const simplcolor = require('../index') | |
console.log(simplcolor.red('red')) | |
console.log(simplcolor.red(simplcolor.bold('bold red'))) | |
console.log(simplcolor.red(simplcolor.italic('italic red'))) | |
console.log(simplcolor.red(simplcolor.underline('underline red'))) | |
console.log(simplcolor.red(simplcolor.inverse('inverse red'))) | |
console.log(simplcolor.red(simplcolor.strikethrough('strikethrough red'))) | |
console.log(simplcolor.red(simplcolor.dim('dim red'))) | |
console.log(simplcolor.red(simplcolor.bgRed('bg red'))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const LoggerClass = require('../index'); | |
const Logger = new LoggerClass({ production: false }); | |
Logger.log("Hello World", "DEBUG"); | |
Logger.log("Hello World", "SUCCESS"); | |
Logger.log("Hello World", "INFO"); | |
Logger.log("Hello World", "WARN"); | |
Logger.log("Hello World", "ERROR"); | |
Logger.log("Hello World", "FATAL"); |