logger_util
Dead simple Python logger.
This library redirects the stdout and stderr to a Log object that saves the text printed to the console to a file. The file is auto-generated and is named based on the number of files in the log directory. Adding simple LogLevel attributes at the start of your printed debug text allows the log to be parsed and separately into severity levels.
Install using: pip install logger-util==0.2
from logger_util import CreateLogger, log_startup
if __name__ == "__main__":
CreateLogger()
log_startup()
print("INFO: This is a test message.")
Calling CreateLogger will instantiate all the necessary variables, files, and directories. Nothing more needs to be done other than writing to the console.
This library is licensed under the MIT license.
Metadata
Release files for logger-util 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| logger_util-0.3.0.tar.gz | 4.9 kB | Without provenance | Details for logger_util-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| logger_util-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for logger_util-0.3.0-py3-none-any.whl |
Total release size: 9.1 kB
Release files / logger_util-0.3.0.tar.gz
| Download URL | logger_util-0.3.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf6a8a08421b72316c03e0af5795dfe365ff8b25d58940176c1bbbbc786e4225
|
|
BLAKE2b-256 checksum How to use checksums |
2a8369fc229948a47c92be9449a193d341ed869cb6f092df29e3c2712283b8a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Release files / logger_util-0.3.0-py3-none-any.whl
| Download URL | logger_util-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f61b5a944463583b7f4cf9845220e216aa09cb46c519531418cf0a71b229e6a
|
|
BLAKE2b-256 checksum How to use checksums |
f15242b590d6f0a342d4e2090a0243f7c6cc64a65d4ecaa48e4ea28ddda003fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Security for logger-util 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.