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()
Release files for allogate 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| allogate-1.0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| allogate-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / allogate-1.0.0.tar.gz
| Download URL | allogate-1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24b953bfaac89663548c1a46a1d3dc65c60798547cd183e7f45f8a8094fab65d
|
|
BLAKE2b-256 checksum How to use checksums |
32bcfc04662839c6a92c932f1c25f6a3b96e401f0a833c77afebec64e3a113c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / allogate-1.0.0-py3-none-any.whl
| Download URL | allogate-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
432ab71321f31061c240467fb7beff58449b44c679ef8576755d00abe4c207a8
|
|
BLAKE2b-256 checksum How to use checksums |
09181691fb86f76a87e4ab6693ae4bbd23b3dd8446f3f46cabc4f1df89245edd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|