Colorful and Simple Logger: cologs
Project description
cologs
A simple colorful wrapper around logger from Python Standard Library with no dependencies. cologs sends its colorful output both to the terminal and into logs/cologs.log. The cologs.log file is rotated inside the logs folder when it gets large enough.
Installation
pip install cologs
Usage
from cologs import get_cologs
cologs = get_cologs()
cologs.debug("Debug message")
cologs.info("Info message")
cologs.warning("Warning message")
cologs.error("Error message")
cologs.critical("Critical message")
STDOUT
Log File
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
cologs-0.3.tar.gz
(190.8 kB
view details)
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
cologs-0.3-py2.py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file cologs-0.3.tar.gz.
File metadata
- Download URL: cologs-0.3.tar.gz
- Upload date:
- Size: 190.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a289ca686d23409e134b03020038fa182d807ffd727bc72469d64ef1bd2f0ca2
|
|
| MD5 |
f8cf33170d899c1a08cd7ca9fd8a208e
|
|
| BLAKE2b-256 |
36d78b9d9ae960712bab41daefcd7f4f52a8fd3f290c51f6508951b8bc319df5
|
File details
Details for the file cologs-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: cologs-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6538dde2c1b871816db7c4b0b953c1b8fb314be9d32106e6e45d17e32eb36826
|
|
| MD5 |
839c20467f9090cf3900958f2c80672f
|
|
| BLAKE2b-256 |
3e646d4685aad2f4997a1e27e3d47f4590c7780c40da47582e196cbe5fb4373d
|