dream.log

1.0.1 • Public • Published

dream.log for cool log design.

dream.log will present you with two classes: log and logGenerator.

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.

Package Sidebar

Install

npm i dream.log

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.29 kB

Total Files

3

Last publish

Collaborators

  • clintflames