A well maintained program to have coloured logs on the terminal. This would help isolate errors and success messages from each other just by their colours.
Project description
customisedLogs v1.5.0
pip install customisedlogs --upgrade
A well maintained program to have coloured logs on the terminal. This would help isolate errors and success messages from each other just by their colours.
To install:
pip install customisedlogs --upgrade
pip3 install customisedlogs --upgrade
python -m pip install customisedlogs --upgrade
python3 -m pip install customisedlogs --upgrade
Using this program is as simple as:
from customisedLogs import Manager as LogManager
logger = LogManager()
logger.fatal("SERVER", "Unhandled Exception", "Overloaded")
logger.failed("SERVER", "Unable to connect..")
logger.success("NETWORK", "Successfully connected", "Bi-directional", "lat: 1ms")
logger.info("CLIENT", "Port reserved")
logger.skip("PROGRAM", "Started...")
And it would look like:
Future implementations:
- Let user change the default RGB values.
- Add more verbose levels.
- Customised verbose levels.
- Skip same log if repeated within a time-frame.
- Different formats. Compatible to render on HTML or any other stdout method.
This project is always open to suggestions and feature requests.
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
customisedlogs-1.5.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file customisedlogs-1.5.0.tar.gz
.
File metadata
- Download URL: customisedlogs-1.5.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4906c5165c3f877a631e7e536ca902b083dbb15c6fecbaf66d918cd2fb9c9416 |
|
MD5 | 70d4386a83c6ee5220a7748ab16f38f8 |
|
BLAKE2b-256 | 7c847a88dcc67b575b37fc2788dc276cd529c221f73596240a22be2686153136 |
File details
Details for the file customisedLogs-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: customisedLogs-1.5.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165128fc6de484cad22a5cd69607bbfb1fb7d29b9d49f86895673529bc8db414 |
|
MD5 | fddd015b768718f70fe87704905ff3d0 |
|
BLAKE2b-256 | 9dbfb4e8741e203b0f3e57cf343087ef694481f385c7aae8110020a368e0cfec |