1.0.1 • Published 4 years ago

dream.log v1.0.1

Weekly downloads
8
License
ISC
Repository
github
Last release
4 years ago

log has several ready-made templates for logGenerator but you will be able to add your own templates.

//Declare a variable.
const DL = require('dream.log');

//Let's try to use the log class
//Declare a log class with text without ".".
const log = new DL.log('Wow, this is amazing text');
//Use log class.
log.progress();
log.app();
log.warn();
log.error();

//Let's make a new template right now.
const orange = (argument) => {
	new DL.logGenerator('38;5;214', 'HAPPY', argument).log();
};
//Let's take a look at this.
orange('Wow this is my own template');

http://oldsss.7m.pl/dream.log.png

Discord.