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
- sty
$ pip install sty
Installation
- Clone Repository to Project Folder.
$ git clone https://github.com/KrypticStudio/KrypticLogger.git
Usage
- Import KrypticLogger!
import from KrypticLogger.logger import log
- 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)
- 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
Close
Hashes for KrypticLogger-0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3405f659664902cdf6657f334a15c9f276c5115e3eedc9c88f84bda3f59043a2 |
|
MD5 | 1f68569d4f55fef18105c9d7ab374034 |
|
BLAKE2b-256 | cb662680661745adac77107eb9aa9da2d83dc79f0f4917fa0e6e10d100776b14 |