Skip to main content

log_soso

Some logging enhancements, such as log error with traceback, redirect STDOUT, STDERR to log, and more.

Functions

log_error

Log an error with traceback:

log_stdout

Redirect STDOUT to log

log_stderr

Redirect STDOUT to log

Classes

StreamToLogger

File-like stream object that redirects writes to a logger instance. Use like:

with StreamToLogger(logging.getLogger(), logging.DEBUG) as sob:
	pprint(object, stream=sob)

PrintPassthru

A context manager which temporarily directs loggin output to real stdout.

Metadata

Release files for log-soso 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for log-soso 1.0.4
File Size Uploaded Provenance
log_soso-1.0.4.tar.gz 13.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for log-soso 1.0.4
File Interpreter ABI Platform
log_soso-1.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 28.5 kB

Release files / log_soso-1.0.4.tar.gz

Download URL log_soso-1.0.4.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0add86e5be38efffc71ac7f747a2e1769565955bd5147f4c21af93aad9069955
BLAKE2b-256 checksum
How to use checksums
e0649d4b9f1acaa298a17fdddd945d63bb70c6c1591f1dbaaac2f8821b32e84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / log_soso-1.0.4-py2.py3-none-any.whl

Download URL log_soso-1.0.4-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5705c80a8cc7727e599f54d66e5b8f47e00f201ede1616f14a7d933c0802da8f
BLAKE2b-256 checksum
How to use checksums
db1cd6dc8f754c1ada5fbc9a3eb94dae41572518975292a83b9799054f2e9223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for log-soso 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page