A lightweight colored logging utility for Python
Project description
CuteLogger
A super lightweight and simple colored logging utility for Python.
No setup, no dependencies — just import and go.
Why?
Sometimes you don’t need Python’s full logging system.
You just want quick, clean, colored output.
Features
- Minimal and fast
- Colored logs (ANSI)
- Multiple log levels
- Built-in help guide
- Zero dependencies
Installation
pip install cutelogger
Usage
from cutelogger import log, help
log("This is debug", "debug")
log("All good", "info")
log("Something off", "warning")
log("Something broke", "error")
log("System dying", "critical")
log("Task done", "success")
log("Task failed", "fail")
Log States
| State | Color | Use Case |
|---|---|---|
| debug | cyan | developer info |
| info | green | general info |
| warning | yellow | something might go wrong |
| error | red | something failed |
| critical | red bg | serious failure |
| success | bright green | success |
| fail | bright red | failure |
| blue | blue | custom logs |
| magenta | magenta | rare logs |
| white | white | default text |
| gray | gray | low priority |
Help
help() # shows everything
help("error") # shows specific
Example
log("Server started", "success")
log("Fetching data...", "info")
log("Timeout warning", "warning")
Notes
-
Works in terminals that support ANSI colors
-
Windows may need color support enabled
Author
Trooff
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 cutelogger-0.2.1.tar.gz.
File metadata
- Download URL: cutelogger-0.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e945ca51ab8260b8b4f892585b09cdca8c076932c8e2b252c6f9d4f8e17e1920
|
|
| MD5 |
078e1ca77900c0f01e1a36afa631da4a
|
|
| BLAKE2b-256 |
76333d07f58b4ad83f448525e0a88e9d71fefedd94eb1fda044f056f19631b20
|
File details
Details for the file cutelogger-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cutelogger-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac415ae9dece6f0dd5adb1d7ac455c588f83e0d95a6e625578dc1d6fee86f96c
|
|
| MD5 |
0722f0bebf667098a82c36a5e5bda40c
|
|
| BLAKE2b-256 |
9f1b8414d426ac25a0b5b2c36ee220b5f5b7c35ef33b2cb43fca26d364c7e501
|