Skip to main content

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 logging module.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roadsync_slogger-1.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

roadsync_slogger-1.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file roadsync_slogger-1.0.1.tar.gz.

File metadata

  • Download URL: roadsync_slogger-1.0.1.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

Hashes for roadsync_slogger-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4671af1f05673f1c08e5e34c1a1d40829a2e3a90734f43fa97ed1119bdc6a5fe
MD5 02bda1e84fd921483d70e38e8f2a67ec
BLAKE2b-256 e07ae90486254ecd46ba342af982ae65221d40192f55f73aaec4523d538c579a

See more details on using hashes here.

File details

Details for the file roadsync_slogger-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: roadsync_slogger-1.0.1-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

Hashes for roadsync_slogger-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16455c554575db8b5997d995ff49df8c356ced32fc19b4aece1d041d9617c665
MD5 3a694b4893dd7346e476ceebc54e2def
BLAKE2b-256 87b53f13702c9529ea82a32d686006348fd7c09e69db47e58d8e7b79c545e652

See more details on using hashes here.

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