A lightweight logger that makes logging to the terminal easy and pretty in python.
Project description
ColorLog
ColorLog is a lightweight logger that makes logging to the terminal easy and pretty for python.
This is self-made & self-used module for coloring logging infomation. Welcome any contributions if you would like!
TODO
- Auto-inline
- Add requirements
- Upload to PyPI
Installation
Font
The recommended font is MesloLGS NF
.
Install from PyPI
TODO
pip install colorlog-python
Usage
To use colorlog, just import the pre-instantiated logger
into your code.
from colorlog import logger
logger.debug("prompt:", your_args)
logger.info("prompt:", your_args)
logger.warning("prompt:", your_args)
logger.success("prompt:", your_args)
logger.error("prompt:", your_args)
For other detailed APIs please check the code!
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
colorlog-python-1.1.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for colorlog_python-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68fc3cb7a611a1d2434191afdcd5efa2c9e5fed5d6b75ea8b96918f1fef2ed4 |
|
MD5 | 0f8465b2dba4e92154ac98cb84d843b1 |
|
BLAKE2b-256 | 7058804d94947e64a8aecc268d60f72c314ab2b0828b7ec216f9fa5c831ac8db |