A neat logging configurator
Project description
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.
Installation
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
or
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
Usage
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!
Project links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neatlog-0.1.8.tar.gz
.
File metadata
- Download URL: neatlog-0.1.8.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.16-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de5d536313ee84ba1aef4f4a960f332da29a714a1eb67f5d353f47627804d25 |
|
MD5 | 00de79ef9488f0b39abd9ba98a2246b7 |
|
BLAKE2b-256 | f97a56e3dc66c235863933430a7a511b6eac57de9492a85851ef6a0e3e6ab366 |
File details
Details for the file neatlog-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: neatlog-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.16-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2eda70edb83a74b1b8d0cf88ff071bf1c3a4c927c53288951d910b013f4e555 |
|
MD5 | 88026f2323f50577557195676a0b1cb4 |
|
BLAKE2b-256 | 8a7adb04ba8c54877bcfb83fc0e987e36cc27a6ee67f8ba90fbf1ff83d37c191 |