Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

uqlel/sweet-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sweet Logger - a nice logger for your projects!

NPM version NPM downloads Repo Size Last Commit

npm stats

This project is abandoned

It won't be maintained anymore. If you wan't to maintain it, create a fork and contact me on Discord: uQlel#9256, or by e-mail: [email protected] so I will link it there.

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#9256, or by e-mail: [email protected]

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published