Skip to main content

A psr3 compliant logging interface for python

Project description

PSR3 Logging

A python implementation of a psr3 compliant logging interface.

Basic Usage

from psr3_logging import LoggingInterface

logger = LoggingInterface(log_name="testLog", filename="./logs.log")
logger.debug("This is a debug log", {"data": "this is some context information"})

./logs.log:

[2025-02-10T10:37:11.116000+00:00] testLog.DEBUG: This is a debug log {"data": "this is some context data"} []

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

prs3_logging-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

prs3_logging-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file prs3_logging-0.1.0.tar.gz.

File metadata

  • Download URL: prs3_logging-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for prs3_logging-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a03e8510f6ba2a228442488460c785e2c7240722775fdde76232799cc6d19133
MD5 268c656f1cf45d2ec927a1559f745b24
BLAKE2b-256 8a3fe2ab51d2b0ee7a23c2c1f09cf5de313eddeecdc22d3337715c9079b40202

See more details on using hashes here.

File details

Details for the file prs3_logging-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: prs3_logging-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for prs3_logging-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4f9a2440f3d1ca3114a84a7c13c443ceb6cdb0526631dd4d13b0e7c97a4f1d4
MD5 50288225019c6c5b15652cbb8c4dd6c6
BLAKE2b-256 bfd22c42fc10c01f1073646611ddb1a80e6794d106c59c5aa95e2c84d8d6ecac

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