betterslogs
v2.0.5
Published
A simple NPM package for easy and beautiful logging
Downloads
11
Readme
🚀 BettersLogs 🚀
🏆 Create beautiful logs, quickly and efficiently, with no headaches. 🎯
✨ Prerequisites ✨
This project requires NodeJS (version 8 or later), NPM, and colors. Node and NPM are really easy to install. To make sure you have them available on your machine, ↪ try running the following command.
$ npm -v && node -v
6.4.1
v8.16.0
📕 How to use 📕
- ⚙ Install:
npm install betterslogs
- 💢 Then, require it
const loggers = require("betterslogs");
- 👑 Now, you can just use it:
loggers.warn("text");
loggers.init("text");
loggers.info("text");
loggers.error("text");
loggers.criticall("text");
loggers.down("text");
loggers.cmd("text");
loggers.clean(); // makes a gap in the logs
loggers.clear(); // clear the console
//or test whit
loggers.test("text");
🔗 See the result: 🔗
-> https://imgur.com/qNyNH5g ⚡