A logging package but very pretty and has stacks and stuff
Project description
Allogate
A very simple logging package
Output example
Usage example
import allogate as logging
logging.VERBOSITY=1
print(f"Verbosity = {logging.VERBOSITY}")
logging.pprint(f"Hello, this is a failure", 0)
logging.pprint(f"Hello, this is a success", 1)
logging.pprint(f"Hello, this is a warning", 2)
logging.pprint(f"Hello, this is an info" , 3)
logging.pprint(f"Hello, this is verbose" , 4)
logging.pprint(f"Hello, this is very verbose" , 12)
logging.VERBOSITY=3
print(f"Verbosity = {logging.VERBOSITY}")
logging.pprint(f"Hello, this is a failure", 0)
logging.pprint(f"Hello, this is a success", 1)
logging.pprint(f"Hello, this is a warning", 2)
logging.pprint(f"Hello, this is an info" , 3)
logging.pprint(f"Hello, this is verbose" , 4)
logging.pprint(f"Hello, this is very verbose" , 12)
logging.VERBOSITY=5
print(f"Verbosity = {logging.VERBOSITY}")
logging.pprint(f"Hello, this is a failure", 0)
logging.pprint(f"Hello, this is a success", 1)
logging.pprint(f"Hello, this is a warning", 2)
logging.pprint(f"Hello, this is an info" , 3)
logging.pprint(f"Hello, this is verbose" , 4)
logging.pprint(f"Hello, this is very verbose" , 12)
logging.VERBOSITY=15
print(f"Verbosity = {logging.VERBOSITY}")
logging.pprint(f"Hello, this is a failure", 0)
logging.pprint(f"Hello, this is a success", 1)
logging.pprint(f"Hello, this is a warning", 2)
logging.pprint(f"Hello, this is an info" , 3)
logging.pprint(f"Hello, this is verbose" , 4)
logging.pprint(f"Hello, this is very verbose" , 12)
logging.pprint(f"Clamp me AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" , 12)
def test_function():
logging.pprint(f"Hello, this is a failure", 0)
logging.pprint(f"Hello, this is a success", 1)
logging.pprint(f"Hello, this is a warning", 2)
logging.pprint(f"Hello, this is an info" , 3)
logging.pprint(f"Hello, this is verbose" , 4)
logging.pprint(f"Hello, this is very verbose" , 12)
test_function()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allogate-1.0.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allogate-1.0.0.tar.gz.
File metadata
- Download URL: allogate-1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b953bfaac89663548c1a46a1d3dc65c60798547cd183e7f45f8a8094fab65d
|
|
| MD5 |
f8eb2a9d7bd83e9925f75e81b5c58077
|
|
| BLAKE2b-256 |
32bcfc04662839c6a92c932f1c25f6a3b96e401f0a833c77afebec64e3a113c7
|
File details
Details for the file allogate-1.0.0-py3-none-any.whl.
File metadata
- Download URL: allogate-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
432ab71321f31061c240467fb7beff58449b44c679ef8576755d00abe4c207a8
|
|
| MD5 |
41ab4b18b7652aa0a18531bf6f3f40d1
|
|
| BLAKE2b-256 |
09181691fb86f76a87e4ab6693ae4bbd23b3dd8446f3f46cabc4f1df89245edd
|