1.0.1 • Published 3 months ago

itsasht-logger v1.0.1

Weekly downloads
-
License
MIT-Modern-Varian...
Repository
gitlab
Last release
3 months ago

Logger

This logger is based off Log from _Charm, I liked the way it displays information to the admins.

Install

package managerinstall code
npmnpm install itsasht-logger
bunbun add itsasht-logger

Once you have installed the package you can use it by adding the following code:

const { log } = require('itsasht-logger'); //CommonJS
import { log } from 'itsasht-logger'; //ESM

log.info

log.info('This is a basic log message');
log.info('This is a more advanced log message', ["advanced", true], ["INFO", "This something different"])
log.new("DEBUG", "aqua", "This is a debug message", ["debug", "test debug messages"])
log.newRGB("Test", 107, 11, 224, "this is the color purple", ["test", "purple testing"])

The other functions are log.warning and log.error used in the same way as info shown above.

log.doc

log.doc("npm", "https://www.npmjs.com/package/itsasht-logger?activeTab=readme")
1.0.1

3 months ago

1.0.0

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago