Skip to main content

l2sl

What is this?

l2sl funnels log records of third-party tools into your structlog pipeline. In addition, l2sl converts the text based log records into a structured representation.

Why do I need it?

You need l2sl if

  • you are using structlog as the logging library in your application,
  • you depend on third-party libraries, e.g. uvicorn or httpx, that use the logging module from the standard library for logging, and
  • you want the log records from the third-party libraries processed by the same structlog pipeline as your own log records.

How do I get started?

In the most minimal setup, you only need to do add one thing to your logging setup, preferably after the structlog.configure() call:

import l2sl

l2sl.configure_stdlib_log_forwarding()

How do I learn more?

Please have a look at the documentation.

Metadata

Release files for l2sl 0.4.2

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

Source distribution (sdist)

Source distribution for l2sl 0.4.2
File Size Uploaded
l2sl-0.4.2.tar.gz 66.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for l2sl 0.4.2
File Interpreter ABI Platform
l2sl-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 80.0 kB

Release files / l2sl-0.4.2.tar.gz

Download URL l2sl-0.4.2.tar.gz
Size 66.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6bad703a93c0b613ae9fac0ede3208ba36a7abc192fdcaeabff3c70b3d892acb
BLAKE2b-256 checksum
How to use checksums
59375dd3b53aa76883e26af1368aa0578d138026c372b554e9550f82e9c1d50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / l2sl-0.4.2-py3-none-any.whl

Download URL l2sl-0.4.2-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef66611a3fbc051346014c4209efe2dd791dc624558e68ff2bf59769845c0bd4
BLAKE2b-256 checksum
How to use checksums
8d6d73a175f5e060b06719d5f67fcfcb4a47ee9bb0045a66ee677ad23ab022e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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