logging-extended-handlers
| Version | |
| Project | |
| CI | |
| Code |
Extending logging.handlers
Table of Contents
About
This package contains the following loggers:
HTTPHandlerCustomHeader: Likelogging.handlers.HTTPHandlerbut with full freedom of the HTTP headerBufferingSMTPHandler: Buffers the logs likelogging.handlers.BufferingHandlerand sends it via smtp
Similar projects with differen handlers:
Installation
pip install logging-extended-handlers
Usage
logger = logging.getLogger()
logger.setLevel("DEBUG")
my_logger = MyLogger(...)
my_logger.setLevel("INFO")
my_formatter = logging.Formatter(
fmt="%(asctime)s %(levelname)s by %(funcName)s: %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
style="%",
)
my_logger.setFormatter(my_formatter)
logger.addHandler(my_logger)
License
logging-extended-handlers is distributed under the terms of the MIT license.
Metadata
Release files for logging-extended-handlers 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logging_extended_handlers-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / logging_extended_handlers-0.2.1-py3-none-any.whl
| Download URL | logging_extended_handlers-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f715bcd01586f0c30c461ccee3d3073444b6e85e2b257378964ba1e1eec6f29
|
|
BLAKE2b-256 checksum How to use checksums |
b044bf2f5a32503506172c4ca2290656b671d0455b701625e9a643cffb961b7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|