Skip to main content

classlogging

Class-based logging facility.

Installation

pip install classlogging

Usage example

import classlogging


class MyClass(classlogging.LoggerMixin):
    def test_log_value(self, value: str) -> None:
        self.logger.debug(f"Got value: {value}")


if __name__ == "__main__":
    classlogging.configure_logging(level=classlogging.LogLevel.DEBUG)
    MyClass().test_log_value("Foo")
    # Writes to stderr:
    # 2022-01-01 12:34:56,789 DEBUG [__main__.MyClass] Got value: Foo

Metadata

Release files for classlogging 1.2.1

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

Source distribution (sdist)

Source distribution for classlogging 1.2.1
File Size Uploaded Provenance Actions
classlogging-1.2.1.tar.gz 7.4 kB Without provenance Details for classlogging-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for classlogging 1.2.1
File Interpreter ABI Platform Actions
classlogging-1.2.1-py3-none-any.whl Python 3 none any Details for classlogging-1.2.1-py3-none-any.whl

Total release size: 15.8 kB

Release files / classlogging-1.2.1.tar.gz

Download URL classlogging-1.2.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6ff1dcb79d0c3614ffba72e9434fdbc8fe644773641839cee0791a3a634744f5
BLAKE2b-256 checksum
How to use checksums
b943beab05dd895644f9cb14536756ae1b0d80485966d7b2707af616b072d755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.16 Darwin/24.2.0

Release files / classlogging-1.2.1-py3-none-any.whl

Download URL classlogging-1.2.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d49f4018a12ffed17b26c6a90cb88770a2952a17ac7b750ab313c05f5c6134
BLAKE2b-256 checksum
How to use checksums
b2eb677986d485fc4f2e1dba4e293208c1651235a06c16e7f568f10b97793ab7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.16 Darwin/24.2.0

Security for classlogging 1.2.1

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