A neat logging configurator
neatlog: A neat logging configuration
This package provides an easy and transparent way of customizing the builtin logging. Just import the module and enjoy the difference.
The installation is straight forward. You can install the package via pip, pipenv, poetry and alike or by downloading the source from the gitlab repository.
From pypi.org (recommended)
Install by typing
pip install neatlog
pip install --user neatlog
if you do not have root access.
Please check the documentations for pipenv, and poetry for information on how to install packages with these tools.
From gitlab.com (for experts)
To get the latest features or contribute to the development, you can clone the whole project using git:
git clone https://gitlab.com/szs/neatlog.git
Simply import neatlog in your program and use logging as usually:
import logging from log_fmt import set_log_level set_log_level(logging.DEBUG) logging.critical("something critical") logging.error("some error") logging.warning("some warning") logging.info("some info") logging.debug("something for debugging")
How to Contribute
If you find a bug, want to propose a feature or need help getting this package to work with your data on your system, please don’t hesitate to file an issue or write an email. Merge requests are also much appreciated!
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.