3.7.3 • Published 2 years ago

hyperz-nodelogger v3.7.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Hyperz-NodeLogger

A node logger using multiple external npm modules to allow you to build your own stylish console logger.


Support


Installation

npm i hyperz-nodelogger@latest


Using The Logger

The nodelogger function offers a fair amount of customization.

EntryTypeDefinition
#1STRINGThe header, this is the top of the embed
#2STRINGThe width of the header
#3STRINGThe color of the ASCII text for the header (must work with npm chalk)
#4STRINGThe body section of the logger, doesn't support color yet
#5STRINGThe background color of the logger, can be a color HEX, or disable it by setting to "disabled"
#6STRINGThe border around the logger box, can be a color hex
#7STRINGThe border style around the logger module
#8BOOLEANMake the header border match the body border

Border Styles

  • single
  • classic
  • double
  • round
  • none

Code Example

const nodelogger = require('hyperz-nodelogger')

client.on("ready", () => {
    const logger = new nodelogger()
    // Entries: header, headerWidth, headerColor, body, backgroundColor, borderColor, borderStyle, fullBorders
    logger.hypelogger(`HDClient`, '500', 'green', `What a cool feature for a node module!\n\nPretty dank ngl`, 'disabled', 'green', 'single', false)
});

npm.io


What are the dependencies?

Figlet

Carden

Chalk

Axios


3.7.3

2 years ago

3.7.2

3 years ago

3.7.1

3 years ago

3.6.2

3 years ago

3.7.0

3 years ago

3.6.1

3 years ago

3.6.0

3 years ago

3.5.1

3 years ago

3.5.0

3 years ago

3.6.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.6

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago