Superb Logger is a sleek and powerful logging utility built for Python applications
Project description
Superb_logger
Superb Logger is a sleek and powerful logging utility built for Python applications.
Basic Usage
from logging import Formatter
from superb_logger import Configurator, Level
from colorlog import ColoredFormatter
colored_formatter = ColoredFormatter(
"%(log_color)s%(levelname)-8s%(reset)s %(log_color)s%(message)s",
log_colors={
'DEBUG': 'light_black',
'WARNING': 'yellow',
'ERROR': 'red',
'CRITICAL': 'red',
}
)
configurator = Configurator(
base_level=Level.DEBUG,
console_formatter=colored_formatter
)
log = configurator.get_root_logger()
log.debug("Testing")
log.info("Testing")
log.error("Testing")
log.critical("Testing")
License
MIT License — feel free to use it in any project! 🎉
Documentation
https://superb-logger.dkurchigin.ru/
Author
Made with ❤️ by @dkurchigin
Gitverse
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
superb_logger-0.2.4.tar.gz
(5.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
File details
Details for the file superb_logger-0.2.4.tar.gz.
File metadata
- Download URL: superb_logger-0.2.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.0 CPython/3.13.7 Linux/5.15.0-144-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6bc5f9e6fd392473c31249facdb4ba17f54bdd33e15a3ff3fd24a859ac55f33
|
|
| MD5 |
d5c985caea8f52b84800d594be2687fc
|
|
| BLAKE2b-256 |
f8a8d1b72db45901cd19ac63234e2205ba3d89c2e6df0da60ec3193aca9d4f31
|
File details
Details for the file superb_logger-0.2.4-py3-none-any.whl.
File metadata
- Download URL: superb_logger-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.0 CPython/3.13.7 Linux/5.15.0-144-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21dfeae100c5890fbf4f97d12dbdeeaa4903798094c0f45cedf0e925fc58f509
|
|
| MD5 |
4fa8dce60a4f8ce9a9ae901e1da42bde
|
|
| BLAKE2b-256 |
d7ca1c4cba35445147574f61c21aee822b559d113eb7f141f8210513bb2c584f
|