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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colorlog-python-1.1.0.tar.gz.
File metadata
- Download URL: colorlog-python-1.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c803c994a7a17ac42d06c38bc32f53d20500470304bf24cbaed89e36a4f224a9
|
|
| MD5 |
e63320ec94ed8012a2c8dc67c75ac89e
|
|
| BLAKE2b-256 |
20b73693f1f4099967e183743cb84dffb3f5e918a8f6e2993a5bfe972195abf9
|
File details
Details for the file colorlog_python-1.1.0-py3-none-any.whl.
File metadata
- Download URL: colorlog_python-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b68fc3cb7a611a1d2434191afdcd5efa2c9e5fed5d6b75ea8b96918f1fef2ed4
|
|
| MD5 |
0f8465b2dba4e92154ac98cb84d843b1
|
|
| BLAKE2b-256 |
7058804d94947e64a8aecc268d60f72c314ab2b0828b7ec216f9fa5c831ac8db
|