python-fruafr-log¶
The
fruafr.logpackage contains basic Python 3 logging utilities (CLI)
It provides :
a CLI to log messages to the console : logtoconsole.py
a CLI to log messages to a file: logtofile.py
a CLI to log messages via syslog (via UDP or TCP): logtosyslog.py
It also provides :
a tiny UDP/TCP syslog server capable of saving incoming messages to a file: tinysyslogserver.py.
formatter.LoggerClass, a class expanding the standard logging.logger : /lib/logger.py
formatter.FormatterClass, a class expanding the standard logging.formatter : /lib/formatter.py
How to install¶
To use the CLI:
pip install fruafr.log
To use the tiny syslog server, you will need to install the package with sudo permissions:
sudo pip install fruafr.log