Skip to main content

A simple yet robust logging configuration library for Python applications.

Project description

LoggingConfig: The Effortless Python Logging Library

PyPI - Version Accidental yet powerful: a simple Python library for robust, configurable logging.

LoggingConfig 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 LoggingConfig directly from PyPI using pip:

pip install LoggingConfig

[!NOTE] Not ready for use! Will soon be release ready and pip installable

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.0.0b0.tar.gz (5.1 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.0.0b0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file akeoott_logging_config-1.0.0b0.tar.gz.

File metadata

File hashes

Hashes for akeoott_logging_config-1.0.0b0.tar.gz
Algorithm Hash digest
SHA256 6e6c34f60b16e746934fa25b7afed8b23279ce988ac0f53f75e6f8f78a469896
MD5 8b2ddb528c17801f38f37fafe9004eae
BLAKE2b-256 ca78853a063645c10ead351076cac5f6e5cc0aa81c3053d87ddbfb2f80332ebe

See more details on using hashes here.

File details

Details for the file akeoott_logging_config-1.0.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for akeoott_logging_config-1.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 85e45835e938a1d67a45e229641b6a935043f2bcf8b6fefd994566460dab7199
MD5 5671dfd79d781e63814011ea63de7262
BLAKE2b-256 bf689e49cad05562035d014c2aee8deb97c0866c5d046cdc145c8ca0db5deb07

See more details on using hashes here.

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