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.3.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.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: roadsync_slogger-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ed65e7f8bc7d6fcc049cb58212582572369452fdc233b4d1d96c5ee572d68f8e
MD5 0af51d7c6c846888f4ebe5dec08c20c6
BLAKE2b-256 99c0c792cdbeddc190b25fb36f47d41ccc1c26c873dc3c4fe656d208151c162b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roadsync_slogger-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10efe86662faec37dd5c9944eb50a6de4962546876ba7caf43043a0e10b60532
MD5 05f3b1814ed29ef37b706d391b78a622
BLAKE2b-256 905763d2895d81d894ddc5f8c3a4ccc9895a744fe411c33f61db40dfb9e5c8cc

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