A python logger similar to Go's slogger
Project description
Roadsync SLogger
Roadsync SLogger is a Python logging library built to incorporate context enrichment like Go's slog module.
Features
- Supports plain text and JSON logging formats.
- Allows dynamic context enrichment using
with_fields(). - Works seamlessly with Python's standard
loggingmodule. - Handles complex and edge cases (e.g., empty messages, large log entries).
- Thread-safe with isolated logger instances.
Installation
You can install SLogger from PyPI (once published) using pip:
pip install roadsync-slogger
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 roadsync_slogger-1.0.2.tar.gz.
File metadata
- Download URL: roadsync_slogger-1.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cff720f9918f4b7333dccac37554a102f9510ac5772c4de4a990855ab5ec790
|
|
| MD5 |
3db3d7960efd7e091684b6a450bf82e5
|
|
| BLAKE2b-256 |
d2ee55818daf7f58a51bf7b44f9b480a859dc889cc0051ffc04ab795d7946644
|
File details
Details for the file roadsync_slogger-1.0.2-py3-none-any.whl.
File metadata
- Download URL: roadsync_slogger-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4799fcd0e7dc90899e6073896b1e87f4f1a13784edab91bde83e1b3a21c46b5f
|
|
| MD5 |
be86e033d3ff54fbe877a317ad387ced
|
|
| BLAKE2b-256 |
a03e2a88712641387f0e212ef32a31c39c7d544d75488da9ae99f3567e590186
|