A fancy logging library for python using rich and python-json-logger
Project description
Introduction
This Python module provides an advanced logging setup using rich for console logging and python-json-logger for file logging. It allows for detailed and formatted logging, ideal for applications requiring high-level logging capabilities.
Installation
This module requires the following dependencies:
Usage
Import setup_fancy_logging from the module and configure your logging setup by specifying parameters like base_logger_name, console_log_level, file_log_level, log_file_path, and others.
Example:
from fancy_logging import setup_fancy_logging
setup_fancy_logging(
base_logger_name="myapp",
console_log_level="DEBUG",
file_log_level="DEBUG",
log_file_path="myapp.log",
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for fancylogging-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a33451cfc94c10962639ef156fa0e07a678bd59aec0755dd06f6ee2b90fcf0f |
|
MD5 | d5db45013942afd2b391ab1af0737a5b |
|
BLAKE2b-256 | eb22603dc3d95e625c49ff606a043159550c9614f1ac91a018f0f3edf9f390f1 |