RootKit custom logging Lib
Project description
rkt_logger_lib
Advanced Logging overlay implementing the Singleton pattern.
Features
- Centralized Management: Manages multiple loggers and handlers from a single instance.
- Dual Output: Easy configuration for file logging, stream (console) logging, or both.
- Filtered Streams:
stdout: INFO, DEBUG, WARNINGstderr: ERROR, CRITICAL
- Automatic Organization: Creates and manages log directories and daily log files.
Usage
from logger import Logger
log = Logger(caller_class="MyApp")
# Add a message
log.add(caller="MyApp", message="Application started", level="INFO")
# Create a specialized logger for a sub-module
log.set_logger(caller_class="DatabaseModule", level="DEBUG")
log.add(caller="DatabaseModule", message="Connection established", level="DEBUG")
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
rkt_logger_lib-2.0.3.tar.gz
(5.5 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 rkt_logger_lib-2.0.3.tar.gz.
File metadata
- Download URL: rkt_logger_lib-2.0.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ce37ed8d4d709e3a6ac275d31f54420b4330e47165e90f1de8e0ad38f9a390
|
|
| MD5 |
a0f2d4f0a2be2fd71d841c132442eedd
|
|
| BLAKE2b-256 |
d5e276632f7f66f13e85098cfedc5edd5f4fcefd5e56e221bcf2f222cba839d3
|
File details
Details for the file rkt_logger_lib-2.0.3-py3-none-any.whl.
File metadata
- Download URL: rkt_logger_lib-2.0.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc1d2f32bc2aca83151506bf4f14cc35ce3c66e1305ab5642a1a40a569540c78
|
|
| MD5 |
3266830ec0d57bd95f5b20ecfa270ba8
|
|
| BLAKE2b-256 |
d7a54efd547aff8cf725ef888abd376e5074c59218914e49293603d90b49678c
|