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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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