Skip to main content

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.

License: MIT

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

mccann_hub_echo_trail-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mccann_hub_echo_trail-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for mccann_hub_echo_trail-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1c9f4b13b058f3784521297f20b67f613a5a842f9f3a29bf27925f880a72a76
MD5 a9199200b40b4a65ec8f924bb66fca34
BLAKE2b-256 da9341769edcf68f7f95102298e0efa64b3a97a9f74c919173f9cac969f3e802

See more details on using hashes here.

Provenance

The following attestation bundles were made for mccann_hub_echo_trail-0.1.0.tar.gz:

Publisher: publish.yml on jabez007/echo_trail

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mccann_hub_echo_trail-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mccann_hub_echo_trail-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d70d0ed50a79a04b5fdfc93026099798fe61a3a0ceab8544cfce07daba84be8
MD5 492caa0c4c1b652718d9849dcb46c530
BLAKE2b-256 9b0ff19e8908b3c555479b08a9b7a51fcf014638c45d3d06fd1f883529913dad

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page