1.1.0 • Published 1 year ago

nova-log.js v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

✨ Nova logger ✨

features 👇

  • Discord webhook intergration!
  • Logs into file!
  • MongoDB intergration!
  • Adds life to the console via Color!
  • Has a web version to log in the web (SUPPORTS CUSTOM TYPES!!!)

Images

Normal console

debug warn error

Web console

web

Setup

const novalog = require('nova-log.js')
const log = new novalog()
log.debug('A debug message')
log.error('A error message')
log.warning('A warning message')

In the web

debug('A debug message')
error('A error message')
warning('A warning message')

Optional features

Colorless

const novalog = require('nova-log.js')
const log = new novalog({ color: false })
log.debug('A debug message')
log.error('A error message')
log.warning('A warning message')

Custom log folder

const novalog = require('nova-log.js')
const log = new novalog({ filePath: "path to folder" })
log.debug('A debug message')
log.error('A error message')
log.warning('A warning message')

Discord webhook

  • Optional: Add webhook_avatar: "Link to avatar" to add a custom avatar and webhook_username for custom username
const novalog = require('nova-log.js')
const log = new novalog({ discord_webhook: true, webhook_id: "Your webhook id", webhook_token: "Your webhook token" })
log.debug('A debug message')
log.error('A error message')
log.warning('A warning message')

webhook

MongoDB in progress!

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8-E

1 year ago

1.0.8-T

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.5-B

1 year ago

1.0.4-B

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago