Logfy 🌟 ~~> Log✨ + Beauty⭐
Instalation
npm i --save logfy
OR
npm i --save github.com/LearXD/logfy
Usage
Java Script
const logfy = require('logfy');
TypeScript or ES6
import logfy from 'logfy';
Example
logfy.info("Server started! 😎");
logfy.alert("Something important! 😮");
logfy.debug("Packet received! 😴");
logfy.error("3 errors are found! 😱");
logfy.ok("Build complete! 🔨");
logfy.registerLogger('customName', {
symbol: '🚀',
label: 'CUSTOM',
prefixBackground: '#5D3FD3',
contentBackground: '#3b3b3b'
})
logfy.customName("A MESSAGE... 😁")
License
MIT