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 Distribution
fancylogging-0.0.2.tar.gz
(12.4 MB
view hashes)
Built Distribution
Close
Hashes for fancylogging-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de1bdf21227c59f41fc7994aed7c29dce9d4e4cbdd4ec01a0f5ffc2842c8432 |
|
MD5 | 19338440a4d6f3f081af8a64a7a8c879 |
|
BLAKE2b-256 | 0f254704e932b5ab5e0864ab02e39a94eb000bc307ca0d2214c500b162352500 |