A JSON logger with metadata injection for consistent log formatting.
Project description
Echo Trail
A JSON logger with dynamic metadata injection for consistent log formatting across projects.
Features
- JSON log formatting for improved log readability.
- Metadata injection, including hostname, program name, and custom fields.
- Supports both console and rotating file handlers by default.
Installation
pip install mccann_hub_echo_trail
Usage
from mccann_hub.echo_trail import logger_setup, get_logger
def main():
logger = get_logger(__name__)
logger.info("Hello world!")
if __name__ == "__main__":
logger_setup()
main()
License
This project is licensed under the MIT License.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mccann_hub_echo_trail-0.1.0.tar.gz.
File metadata
- Download URL: mccann_hub_echo_trail-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1c9f4b13b058f3784521297f20b67f613a5a842f9f3a29bf27925f880a72a76
|
|
| MD5 |
a9199200b40b4a65ec8f924bb66fca34
|
|
| BLAKE2b-256 |
da9341769edcf68f7f95102298e0efa64b3a97a9f74c919173f9cac969f3e802
|
Provenance
The following attestation bundles were made for mccann_hub_echo_trail-0.1.0.tar.gz:
Publisher:
publish.yml on jabez007/echo_trail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mccann_hub_echo_trail-0.1.0.tar.gz -
Subject digest:
e1c9f4b13b058f3784521297f20b67f613a5a842f9f3a29bf27925f880a72a76 - Sigstore transparency entry: 186863028
- Sigstore integration time:
-
Permalink:
jabez007/echo_trail@81de979aa69b6af4517ee93b2bb0392b54b025d4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jabez007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@81de979aa69b6af4517ee93b2bb0392b54b025d4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mccann_hub_echo_trail-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mccann_hub_echo_trail-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d70d0ed50a79a04b5fdfc93026099798fe61a3a0ceab8544cfce07daba84be8
|
|
| MD5 |
492caa0c4c1b652718d9849dcb46c530
|
|
| BLAKE2b-256 |
9b0ff19e8908b3c555479b08a9b7a51fcf014638c45d3d06fd1f883529913dad
|
Provenance
The following attestation bundles were made for mccann_hub_echo_trail-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jabez007/echo_trail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mccann_hub_echo_trail-0.1.0-py3-none-any.whl -
Subject digest:
0d70d0ed50a79a04b5fdfc93026099798fe61a3a0ceab8544cfce07daba84be8 - Sigstore transparency entry: 186863029
- Sigstore integration time:
-
Permalink:
jabez007/echo_trail@81de979aa69b6af4517ee93b2bb0392b54b025d4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jabez007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@81de979aa69b6af4517ee93b2bb0392b54b025d4 -
Trigger Event:
push
-
Statement type: