1.0.2 • Published 3 years ago

sweet-logger v1.0.2

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

Sweet Logger - a nice logger for your projects!

npm stats

Table of contents

Installation

Has been tested on NPM v6.14.11 and Node.JS

npm install sweet-logger

Example usage

  • Using class "log":
    • Importing:
      global.log = require("sweet-logger").log
    • Usage:
      log("Example info usage", "info")
      log("Example ready usage", "ready")
      log("Example error usage", "error")
      log("Example warn usage", "warn")
      log("Example debug usage", "debug")
      log("Clear console.log")
  • Using log type classes
    • Importing:
      global.logger = require("sweet-logger")
    • Usage:
      logger.info("Example info usage")
      logger.ready("Example ready usage")
      logger.error("Example error usage")
      logger.warn("Example warn usage")
      logger.debug("Example debug usage")
      logger.clear("Clear console.log")

Help

For help, contact me on Discord: uQlel but better#3129, or by e-mail: root@uqlel.cf

Contributing

You can add something to this package and help me, pull requests are welcome on Github Repository: https://github.com/uqlel/sweet-logger

README inspired by the discord.js module

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago