A improved logging system for python
Project description
BetterLogs
BetterLogs is a improved logging package for python
Installation
Use the package manager pip to install betterlogs.
pip install betterlogs
Usage
from betterlogs import logger
from colorama import Fore, Style
logger = logger.Logger(name="BetterLogs", base_color=Fore.BLUE, base_style=Style.DIM,
time=True, time_color=Fore.BLUE, time_style=Style.BRIGHT)
logger.log("test")
logger.debug("test")
logger.warning("test")
logger.error("test")
logger.critical("test")
Result
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
betterlogs-0.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file betterlogs-0.0.1.tar.gz
.
File metadata
- Download URL: betterlogs-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40cc5cca0eebd31120f7c4ae025e57a6d7ba269427f74aeda6341af1487700dc |
|
MD5 | 336fa9b6e805956d6bc4eaaad5998851 |
|
BLAKE2b-256 | 8e5572e0435001e303184000024b6f86690160ae4796ccb7576f084960da85e9 |
File details
Details for the file betterlogs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: betterlogs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 509bb85850d10dc2b863a8f366a2e7f45aec064e4e81584cdf17c59890cd4046 |
|
MD5 | 48511065ebd3efd39cb426b1a40df171 |
|
BLAKE2b-256 | ae1e935c4db0272da6b41b7f09254b14fb7e53e132dbc5566e819509ea633ca0 |