A simple and flexible logging library for Python
Project description
pypi_zns_logging
A simple and flexible logging library for Python
Installation
pip install pypi-zns-logging
Usage
from zns_logging import get_logger
logger = get_logger(__name__, level="DEBUG")
logger.debug("This is a debug message")
logger.info("This is an info message")
logger.warning("This is a warning message")
logger.error("This is an error message")
logger.critical("This is a critical message")
Output
[2025-01-26 23:22:06] [DEBUG ] [__main__]: This is a debug message
[2025-01-26 23:22:06] [INFO ] [__main__]: This is an info message
[2025-01-26 23:22:06] [WARNING ] [__main__]: This is a warning message
[2025-01-26 23:22:06] [ERROR ] [__main__]: This is an error message
[2025-01-26 23:22:06] [CRITICAL] [__main__]: This is a critical message
Change Log
1.0.0
- Status: Yanked
- Reason: The
coloramadependency was missing frominstall_requires, causing errors during logger usage.
1.0.1
- Status: Released
- Changes: Added
coloramatoinstall_requires.
1.0.2
- Status: Released
- Changes: Added description and other metadata to
Setup.py.
1.0.3
- Status: Released
- Changes: Removed unnecessary variables from
Setup.py.
1.0.4
- Status: Released
- Changes: Update
zns_logging.pylogic.
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
zns_logging-1.0.4.tar.gz
(8.0 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 zns_logging-1.0.4.tar.gz.
File metadata
- Download URL: zns_logging-1.0.4.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8977c379850bf7c72e6ae7ef5780188ac5ebb8ced3a028d931cd47925ff9cf1
|
|
| MD5 |
dfc9a81bdcd21c1a3fe6b86471c8ae1b
|
|
| BLAKE2b-256 |
0f1b7ba51aa5a8ab419e71660e092555520a0642a1076e143928bf9a045cb0ab
|
File details
Details for the file zns_logging-1.0.4-py3-none-any.whl.
File metadata
- Download URL: zns_logging-1.0.4-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73c00f86fc8ce451329ff10b3d1c61379eff70c4411a3bf7f465f291236bb2cb
|
|
| MD5 |
7d25fa9e3215ae25343e3d741bf26296
|
|
| BLAKE2b-256 |
6de494d45da1e05f08e7234cf344082b99301c2ae2059a44cf8c2af02dbe6471
|