An enhanced wrapper for Loguru that supports multiple named loggers with automatic file output, tagging, and smart defaults.
Project description
fastloguru
fastloguru is a wrapper around Loguru that provides:
- Named loggers with automatic file naming
- Dual logging files: one plain, one color-coded
- Preconfigured format, rotation, and retention
- Cross-platform logging directories
- Optional log tagging for filtering
Installation
pip install fastloguru
Usage
from fastloguru import get_logger
log1 = get_logger("api")
log2 = get_logger("auth", prefix="server1", tag="auth")
log1.info("API started")
log2.error("Authentication failed")
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
fastloguru-0.1.1.tar.gz
(3.0 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 fastloguru-0.1.1.tar.gz.
File metadata
- Download URL: fastloguru-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17c36a1ec81a7deaea3dde69d1c70c1b5cce57ccf1e71c361b1a57b5b2deb372
|
|
| MD5 |
cf4612f2caeb330b2a6efcdfec6a83ca
|
|
| BLAKE2b-256 |
de46fafa3a7df100dbc4c0e115ebe901be39dd30f0c319da29cdf26135dccd9f
|
File details
Details for the file fastloguru-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fastloguru-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dbc082cebe108d768abf63386aa631e7bfafc7b4b7abcfd78838e41d375658d
|
|
| MD5 |
1ddc685cab9266bd04b2ce64233fafe6
|
|
| BLAKE2b-256 |
e535bbdee3b4c8cf168d2c173356d07df71a120a62ce5187d5ac03d069b8eb86
|