logfy
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i logfy

Weekly Downloads

2

Version

1.1.0

License

ISC

Unpacked Size

32.6 kB

Total Files

9

Last publish

Collaborators

  • learxd