vse / python-logging-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Demo of logging configuration

Just a quick demo of the python logging module and external configuration.

This package installes one module called testcmd.

There are some comments in logging_config.cfg and in the testcmd/__main__.py that should make it easy to tweak and/or overwrite most of the log related settings.

Installation

Install as editable package pip3 install -e .

Invocation

Run testcmd or python3 -m testcmd.

Remove

Run pip3 uninstall logging-example.

See also

About


Languages

Language:Python 100.0%