Skip to content

rotcharm/betterlog.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

BetterLog.js

Upgrade your console logs with BetterLog.js - Better logs, better experience!


logo

Installation

To install betterlog package using one command: npm install betterlog.js
Then require it with const betterlog = require('betterlog.js').


log

Default Logs

info, debug, warn, error

Discord Logs

ready, database, heartbeat, shard, cluster, command, event

Other Logs

notice, critical, trace

Getting Started

const betterlog = require('betterlog.js')

// Default logs
betterlog.info('Hello world!');
betterlog.debug('Hello world!');
betterlog.warn('Hello world!');
betterlog.error('Hello world!');

// Discord logs
betterlog.ready('Hello world!');
betterlog.database('Hello world!');
betterlog.heartbeat('Hello world!');
betterlog.shard('Hello world!');
betterlog.cluster('Hello world!');
betterlog.command('Hello world!');
betterlog.event('Hello world!');

// Other logs
betterlog.notice('Hello world!');
betterlog.critical('Hello world!');
betterlog.trace('Hello world!');

Support

If you need help with something, don't hesitate to contact me on discord, my discord tag is rotcharm#9999.

About

Upgrade your console logs with BetterLog.js - Better logs, better experience!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published