A custom logging library by Itakello
Project description
Itakello Logging
🪵 What is Itakello Logging
Itakello Logging is a custom logging library built on top of Python's standard logging
module, designed to offer a more straightforward and flexible logging setup for your applications. It provides a convenient way to control log output and format, enhancing the debugging process and monitoring of Python applications.
🚀 Getting Started
🛠️ Installation
To install Itakello Logging, run the following command in your terminal:
pip install itakello_logging
🤔 Usage
Using Itakello Logging is simple. Here's a quick example to get you started:
import logging
from itakello_logging import ItakelloLogging
# Initialize the logging system with optional filtering by filename
ItakelloLogging(debug=False, excluded_modules=["test.py", "another_module.py"])
logging.debug("This is a debug message")
logging.info("This is an info message")
logging.warning("This is a warning message")
logging.error("This is an error message")
logging.critical("This is a critical message")
This setup initializes the logging system, and based on the debug
parameter, it adjusts the log level. Additionally, by specifying the excluded_modules
parameter, messages originating from the listed filenames (e.g., "test.py" and "another_module.py") will be excluded from the logs. This feature makes it easier to focus on the relevant information by filtering out noise from specific modules or scripts.
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
File details
Details for the file itakello_logging-0.2.1.7.tar.gz
.
File metadata
- Download URL: itakello_logging-0.2.1.7.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f55e2adce5b2ec10f179f67fcd7084da9f40ccfc20dd66cee7ae4c918b71136 |
|
MD5 | 48a83c01bb31006d9171a74c00e948e0 |
|
BLAKE2b-256 | 5cd222de968778d51b355a1a33ee8cbccc3ca99ed9a9bf4ee46d3075fcbe4e9c |
File details
Details for the file itakello_logging-0.2.1.7-py3-none-any.whl
.
File metadata
- Download URL: itakello_logging-0.2.1.7-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76316e5f6535eed638e86378275ca16ec5fb4d32056bb2efd1a847ded2013f24 |
|
MD5 | da12567e6162d78f021ea76688823de8 |
|
BLAKE2b-256 | 43d9aa5aef7aa25ce2917648e92995b42036413c6ccb84d576fab234185946e1 |