Pre-release
This release is a pre-release and may not be stable for production use.
togger
T-String Logging Library built ontop of python logging module.
Logger names are always based on the __NAME__
Strings formatting is lazy, so if the log level is not enabled, no stringification takes place.
# Works with all the standard levels
from togger import debug, fatal
debug"fun times"
fatal"oh noes"
# Works with logging by level int instead of name
from togger import log
level1=log(1)
level1"{level1!r} Error Message"
# Works with custom level names
import logging
logging.addLevelName(51, "SPEW")
from togger import spew
spew"halp! i'm dying here"
Metadata
Release files for togger 24.10.5a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| togger-24.10.5a1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| togger-24.10.5a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / togger-24.10.5a1.tar.gz
| Download URL | togger-24.10.5a1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61d2985008d39e91608e2353d68b676affa60d9f8c97174227e5e2c667201f04
|
|
BLAKE2b-256 checksum How to use checksums |
16d18813d774393ea30ac47b21efd45ca05f86150b6a5c43e3b3415f11653117
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / togger-24.10.5a1-py3-none-any.whl
| Download URL | togger-24.10.5a1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb7b8601f7536b14cf7d1d1550d6f46ab3e75d58706315e175c380502b2f93b7
|
|
BLAKE2b-256 checksum How to use checksums |
189e8bfdd93f86e295e152bf681935dc5fef7a12715dc67067dbfd6a38748665
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|