@aidakgm/lwlogger
v1.0.2
Published
The lightest logging package so far.
Downloads
41
Maintainers
Readme
LWLogger
A very lightweight, object-oriented and easy to use logging package. Do not use this package for production since work is in progress.
🔌 Usage
const lwlogger = require('@aidakgm/lwlogger')
const logger = new lwlogger.Logger({
transports: [
new lwlogger.Transport({
level: new lwlogger.Level({
name: 'TEST',
color: 'GREEN',
format: '{{color}}[ {{prefix}} ] {{reset_color}}({{time}}) {{message}}',
time: {
format: 'HH:mm:ss',
locale: 'es'
}
})
})
]
})
logger.log(new lwlogger.Referral(logger.transports, 'TEST'), 'Hello!')
🌍 Why?
i was bored at home idk
🌟 Author and contribution
Author: Aidak
- Discord: Aidak#0001
- Github: https://github.com/adkcode
Contribute:
- Follow this link and start to add nice things or report issues
- You can consider giving me a kiss uwu
- https://github.com/adkcode/lwlogger