Skip to main content

ecs-logging-python

Please note that this is library is in a beta version and backwards-incompatible changes might be introduced in future releases.

Installation

python -m pip install ecs-logging

Getting Started

import logging
import ecs_logging

# Get the Logger
logger = logging.getLogger("app")
logger.setLevel(logging.DEBUG)

# Add an ECS formatter to the Handler
handler = logging.StreamHandler()
handler.setFormatter(ecs_logging.StdlibFormatter())
logger.addHandler(handler)

# Emit a log! :)
logger.debug("Example message!")

License

Apache-2.0

Release files for ecs-logging 0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecs-logging 0
File Size Uploaded
ecs-logging-0.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ecs-logging 0
File Interpreter ABI Platform
ecs_logging-0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 15.9 kB

Release files / ecs-logging-0.tar.gz

Download URL ecs-logging-0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
abaab5ccf4dd46239755861217ad8e329fc744fee37534fe14b1135af2135eb0
BLAKE2b-256 checksum
How to use checksums
7e9ad4df6edbbf3471b0ecab96529c77b3e046351d1f6d4ecce855a040085651
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release files / ecs_logging-0-py2.py3-none-any.whl

Download URL ecs_logging-0-py2.py3-none-any.whl
Size 7.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0d661229368ac9df6a2e2dbb308b614fc82eeab3f4fa350748bd7df2ae9a6d42
BLAKE2b-256 checksum
How to use checksums
b9f09e425b7978112377cc4d77174a3988d6991378d309d5e7a02bfd3b74ac49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release history Release notifications | RSS feed

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

This release

0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page