Skip to main content

A simple and flexible logging library for Python

Reason this release was yanked:

Reason: Unnecessary releases

Project description

zns_logging

A simple and flexible logging library for Python

Installation

pip install 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 colorama dependency was missing from install_requires, causing errors during logger usage.

1.0.1

  • Status: Released
  • Changes: Added colorama to install_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.py logic.

1.0.5

  • Status: Released
  • Changes: Update README.md.

1.0.6

  • Status: Released
  • Changes: Update README.md.

Project details


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.6.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zns_logging-1.0.6-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file zns_logging-1.0.6.tar.gz.

File metadata

  • Download URL: zns_logging-1.0.6.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

Hashes for zns_logging-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8a734689360c20506c11badc0d8d43c3f565b5c1399c320eea220bd5543b1806
MD5 7a2b12bb410de3e7e167b3ea7f89d3a1
BLAKE2b-256 3107d61ff99158cee927e010bbb522e0c87a840409e52a7f4aa4617be654ca04

See more details on using hashes here.

File details

Details for the file zns_logging-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: zns_logging-1.0.6-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

Hashes for zns_logging-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bf78d901a7b7e7fbd8bcf7bc34e7e7276505653fd7248043f0de2c7b5de834fb
MD5 f9b0a2220bee050b8fca96e3e582b0f7
BLAKE2b-256 44aa44a3b4b0c1759b7ba67dffa093fc6a361bd725b5e4f26e350ff5bc049666

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page