Core utility classes for logging management in Python projects
Project description
h7-logger-manager
Core utility classes for logging management in Python projects.
Installation
pip install h7-logger-manager
Features
- Centralized logging configuration
- Automatic log file rotation
- Console and file logging
- Support for multiple named loggers
- Timestamp-based log file naming
Usage
from h7_logger_manager import LoggerManager
# Get default logger
logger = LoggerManager.setup_logger()
# Log messages at different levels
logger.debug("Debug message - only appears in log file")
logger.info("Info message - appears in console and log file")
logger.warning("Warning message")
logger.error("Error message")
# Create a custom named logger with specific file prefix
custom_logger = LoggerManager.setup_logger("my_module", "custom_prefix")
custom_logger.info("This goes to a separate log file")
Requirements
- Python 3.7+
- h7-file-finder
- h7-env-manager
License
MIT License - Copyright (c) 2025 Roger Mori
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 h7_logger_manager-1.0.0.tar.gz.
File metadata
- Download URL: h7_logger_manager-1.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6aa54759c5833f79297b01a0a4253163f3983b4d55f62466c27c0743fe5e650
|
|
| MD5 |
ec795fbab1144fe29a4d55e9923c3485
|
|
| BLAKE2b-256 |
74e8e8dcdb50ba95046ea5152adb709a82d79e58fff3f95583772503800e7730
|
File details
Details for the file h7_logger_manager-1.0.0-py3-none-any.whl.
File metadata
- Download URL: h7_logger_manager-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 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 |
7a8ae69a2ae7c8396e8f43d637ceea71a8ff5f7524e323673e12cfe165fbe454
|
|
| MD5 |
303040ecd780b6004482aa9570c44d05
|
|
| BLAKE2b-256 |
d5e44d0b170d88684abd475c83c0e9e70dcd4da2d448d10f7d570fe69f509fc8
|