Skip to content

joaompinto/taglogger

Repository files navigation

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

About

An extremely simple Python logging library

Resources

License

Stars

Watchers

Forks

Packages

No packages published