Skip to main content

KrypticLogger is a tool to help better organize and minimizing the amount of code while logging!

Project description

Kryptic Studio - KrypticLogger

KrypticLogger is a tool to help better organize and minimizing the amount of code while logging!

Required Libraries

  1. sty
$ pip install sty

Installation

  1. Clone Repository to Project Folder.
$ git clone https://github.com/KrypticStudio/KrypticLogger.git

Usage

  1. Import KrypticLogger!
import from KrypticLogger.logger import log
  1. Call it anywhere!
### Parameters
    # log = True #Logs to terminal or cmd
    # write = Ture #Writes log to file
    # time = True #Adds current time to log
log.LOG_EXAMPLE("Message", log = True, write = True, time = True)
  1. EXAMPLE
# Example
import from KrypticLogger.logger import log

# Calling Logs
log.debug("Debugging Example", log = True, write = True, time = True)
log.error("Error Example", log = True, write = True, time = True, code="Error Code", critical = True)
log.info("Info Example", log = True, write = True, time = True)
log.log("Logging Example", log = True, write = True, time = True)
log.success("Success Example", log = True, write = True, time = True)
log.track("Tracking Example", log = True, write = True, time = True)
log.warn("Warning Example", log = True, write = True, time = True)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

KrypticLogger-0.1-py2-none-any.whl (3.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page