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.0.tar.gz (1.9 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.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: roadsync_slogger-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 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.0.tar.gz
Algorithm Hash digest
SHA256 9a5292e6ebe54148bdc9121655d97593ba49a5660c9afa1fea1fd59c18ecb10b
MD5 12b4ee2a2f5fdb42edacb1e20952c9be
BLAKE2b-256 a9a3d3cc9053b0122487c321d24bf7c276a4ad197c58178f15506784ac53c299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roadsync_slogger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a069839930e80e5c5e374e8d5cdb22767518d21eeee44fcc1345f78576ca47f9
MD5 0ed92483e8e180889c18e37c529ddab9
BLAKE2b-256 b63757d81222bdab8ac1c9694d1aa7af9e0226ac4bf0256c43e4c0eda99e70d9

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