Skip to main content

A simple yet robust logging configuration library for Python applications.

Project description

akeoott-logging-config: The Effortless Python Logging Library

PyPI - Version 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 NullHandler by 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 setup multiple 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 pathlib for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akeoott_logging_config-1.2.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

akeoott_logging_config-1.2.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file akeoott_logging_config-1.2.2.tar.gz.

File metadata

  • Download URL: akeoott_logging_config-1.2.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for akeoott_logging_config-1.2.2.tar.gz
Algorithm Hash digest
SHA256 ba66857f7bed19af4d57b47fe1d09eefc5ee9297b5bb967906dc0bbeda9b4f65
MD5 7d1b21fe92d88a8b2c531e15f1c7903c
BLAKE2b-256 0f7ad89093c2b76d215990d32a6027fd86d08f26c72f599e7edfec89f60500ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for akeoott_logging_config-1.2.2.tar.gz:

Publisher: python-publish.yml on Akeoott/akeoott_logging_config

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file akeoott_logging_config-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for akeoott_logging_config-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 10ccac4e47711236301b5da345ee2840d86dfd4d8b1185ecf531b962e4daeae6
MD5 b37e3b4e8a93a8b16f4e290a17a1d0c7
BLAKE2b-256 a9976bcc000637f33b14b39903b11b1943c10ab7ef0a510f3f3ebcbe40d00732

See more details on using hashes here.

Provenance

The following attestation bundles were made for akeoott_logging_config-1.2.2-py3-none-any.whl:

Publisher: python-publish.yml on Akeoott/akeoott_logging_config

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page