beautiful-logs.js

0.10.1 • Public • Published

A simple logger with colors!

Example

const logger = require("beautiful-logs.js")

// [BOOT] Booted!
logger.boot("Booted!")

// [WARN] Self-destruct initated.
logger.warn("Self-destruct initiated.")

// [SUCCESS] Success! Everything successfully ran!
logger.success("Success! Everything successfully ran!")

// [ERROR] Something went wrong!
logger.err("Something went wrong!")

// [INFO] Hey! You might want to edit your code!
logger.info("Hey! You might want to edit your code!")

// [COMMAND] Commanded to say 'yes'.
logger.command("Commanded to say 'yes'.")

Thanks to Fire for cleaning up my coding mess in the logger.js file.

Package Sidebar

Install

npm i beautiful-logs.js

Weekly Downloads

2

Version

0.10.1

License

GPL-3.0

Unpacked Size

1.68 kB

Total Files

4

Last publish

Collaborators

  • mdstumpfy123