A simple yet robust logging configuration library for Python applications.
Project description
akeoott-logging-config: The Effortless Python Logging Library
Accidental yet powerful: a simple Python library for robust, configurable logging.
akeoott-logging-config provides an incredibly easy-to-use, modular, and enterprise-ready logging solution designed to simplify logging setup for Python applications of any scale, from quick scripts to complex backend systems.
[!WARNING] This project is licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0) - see the LICENSE website or LICENSE file for details.
✨ Features
- Effortless Setup: Configure comprehensive logging with a single function call.
- Zero Unwanted Logs: Implements
NullHandlerby default, ensuring your library doesn't spam user consoles unless explicitly configured. - Highly Configurable: Control log levels, output destinations (console, file), log formats, and date formats with flexible parameters.
- Intelligent File Handling: Automatically resolves log file paths, creates necessary directories, and handles common file-related issues gracefully.
- Idempotent Configuration: Safely call
setupmultiple times without creating duplicate log handlers. - Dedicated Logger: Provides a named logger (
github_activity) isolated from the root logger, preventing interference with other application logging. - Robust Error Reporting: Logs internal errors during logging setup itself (e.g., file writing issues) to ensure visibility.
- Cross-Platform Compatibility: Utilizes
pathlibfor robust and platform-independent file path management.
🚀 Installation
You can install akeoott-logging-config directly from PyPI using pip:
pip install akeoott-logging-config
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 akeoott_logging_config-1.0.2.tar.gz.
File metadata
- Download URL: akeoott_logging_config-1.0.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74d43b78be3fa1b31e399b39e3aed96131bc259b678e53a652078f6492823f8
|
|
| MD5 |
5b675fceeef00b6cbc8affe47d1ad41d
|
|
| BLAKE2b-256 |
de3dbb689e773d6b57513432b543405c65f0826f64943b14a8e600020cf5eba1
|
Provenance
The following attestation bundles were made for akeoott_logging_config-1.0.2.tar.gz:
Publisher:
python-publish.yml on Akeoottt/akeoott-logging-config
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
akeoott_logging_config-1.0.2.tar.gz -
Subject digest:
a74d43b78be3fa1b31e399b39e3aed96131bc259b678e53a652078f6492823f8 - Sigstore transparency entry: 232191787
- Sigstore integration time:
-
Permalink:
Akeoottt/akeoott-logging-config@3e4bd1ccc806600858fa5ef13752c4bae1feb2b5 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/Akeoottt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3e4bd1ccc806600858fa5ef13752c4bae1feb2b5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file akeoott_logging_config-1.0.2-py3-none-any.whl.
File metadata
- Download URL: akeoott_logging_config-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce8dc9d01444f5b138165cea41041e60c4e22cb32b92535bbce8e0e6de59e37e
|
|
| MD5 |
36c7b86552a33ece0f790104ef14a458
|
|
| BLAKE2b-256 |
617dbe0dfe2dab280974f9e594b2597a16586761dc655366d91ee8feb4cdd213
|
Provenance
The following attestation bundles were made for akeoott_logging_config-1.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on Akeoottt/akeoott-logging-config
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
akeoott_logging_config-1.0.2-py3-none-any.whl -
Subject digest:
ce8dc9d01444f5b138165cea41041e60c4e22cb32b92535bbce8e0e6de59e37e - Sigstore transparency entry: 232191789
- Sigstore integration time:
-
Permalink:
Akeoottt/akeoott-logging-config@3e4bd1ccc806600858fa5ef13752c4bae1feb2b5 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/Akeoottt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3e4bd1ccc806600858fa5ef13752c4bae1feb2b5 -
Trigger Event:
release
-
Statement type: