Skip to main content

Simple logger that adds tags to log messages to make it easier to filter them

Project description

taglogger

A simple logger that adds tags to log messages to make it easier to filter them.

License: MIT PyPi Code style: black

Installation

pip install taglogger

Usage

# main.py
from taglogger import tlog

tlog("traffic", "There is a traffic jam")
$ DEBUG=traffic python main.py
[traffic] There is a traffic jam

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

taglogger-0.0.1.tar.gz (50.3 kB view details)

Uploaded Source

Built Distribution

taglogger-0.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file taglogger-0.0.1.tar.gz.

File metadata

  • Download URL: taglogger-0.0.1.tar.gz
  • Upload date:
  • Size: 50.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for taglogger-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4a2218ba9bb56cf434b7ae932221bd688a8f2eadfa2056b1ec6d60075f7e4dc6
MD5 bc8adf2fd1c6f6d19b7c660490e42c71
BLAKE2b-256 a2e37023d8ae46ea88ba9c81bfe68dd706bfca9c37caca349336c77ee5ca7092

See more details on using hashes here.

File details

Details for the file taglogger-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: taglogger-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for taglogger-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 94b8c843b40d70091d9b451ba0906f19262111b00aef0f04507605a6ec4a775a
MD5 704c4f6611531c9f26d190b8160a6f59
BLAKE2b-256 64a53916d07f8b0f003080b265be4b385e5d777187d903a65fbf8eea66ef0b59

See more details on using hashes here.

Supported by

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