Skip to main content

A Structured Logger For Telemetry

Project description

StructLog-Telemetry

Structlog-Telemetry is a very simple custom Python structured logger library.

unittestsrelease

Installation

python3 -m pip install structlog-telemetry

Usage

from structlog_telemetry.structlog_telemetry import StructLogTelemetry

APP_NAME = "APP_X"
APP_VERSION = "v0.0.1"
logger = StructLogTelemetry(APP_NAME, APP_VERSION)


logger.info("hello world")
logger.warning("Hello world")
logger.error("hello world")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

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

structlog_telemetry-2.0.0.tar.gz (85.8 kB view details)

Uploaded Source

Built Distribution

structlog_telemetry-2.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file structlog_telemetry-2.0.0.tar.gz.

File metadata

  • Download URL: structlog_telemetry-2.0.0.tar.gz
  • Upload date:
  • Size: 85.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for structlog_telemetry-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f2bd9bf46731559c4d8604dd57713df6b2922cc75442f3e8ac70b06f329773d7
MD5 e520852b00c24bf2b5a80b599449aa7a
BLAKE2b-256 4ca3c27344c1f8bf04c08d123687b5f17106504407df37ab5f2df65320bb98da

See more details on using hashes here.

File details

Details for the file structlog_telemetry-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for structlog_telemetry-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d67a3c0b39d2c1b873117a9056be9c9adf8960ae89490a0fc9cd4fe0c7459906
MD5 c3d2347fafb804440b6bd26e8548bfbc
BLAKE2b-256 deab118402ed90d2e02286e3a4ff06a382bd6c5608fd5ee3c742368107d91803

See more details on using hashes here.

Supported by

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