2.0.5 ā¢ Published 5 months ago
betterslogs v2.0.5
š 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 ā”