1.2.0 • Published 5 years ago
cubely v1.2.0
A Node.js library for colorful logs and log files. .
Installation
Use the npm to install Cubely.
npm install cubelyOr use yarn.
yarn add cubelyUsage
const cubely = require("cubely")cubely.info('Hello') //-> [INFO]: Hello
cubely.debug('Hello') //-> [DEBUG]: Hello
cubely.warn('Hello') //-> [WARN]: Hello
cubely.error('Hello') //-> [ERROR]: HelloCustom Logs
cubely.custom('Custom', 'Hello', cubely.colors.foreground.Cyan) //-> [Custom]: HelloClose the log file
cubely.close() //-> Closes the logContributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.