Skip to main content

slf4py

Simple Logging Facade for Python.

How to use

# at Terminal

$ pip install slf4py
# at example.py

from slf4py import set_logger


@set_logger
class Example:
    def hi(self):
        self.log.info("Hello World")

        
e = Example()
e.hi()
# [INFO] [2024-06-04 23:50:41,355] [example.py:9] Hello World


from slf4py import create_logger


def main():
    logger = create_logger()
    logger.info("Hello World")


main()
# [INFO] [2024-06-04 23:50:41,355] [example.py:21] Hello World

Metadata

Release files for slf4py 0.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 slf4py 0.0.4
File Size Uploaded Provenance Actions
slf4py-0.0.4.tar.gz 1.8 kB Without provenance Details for slf4py-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 4.3 kB

Release files / slf4py-0.0.4.tar.gz

Download URL slf4py-0.0.4.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3cfb270a3d4d55eec50d21ac0431f08db8c695be0bc1b01d620f6bc6e2bc6d37
BLAKE2b-256 checksum
How to use checksums
3a1a6d5efc87c076e868eb9dd586826c9774f82b4e947715191c2787dadbee0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / slf4py-0.0.4-py3-none-any.whl

Download URL slf4py-0.0.4-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52c1c5a9cfd003f35469c2e22403e585429f48d27fa972ebf239d98d763cc854
BLAKE2b-256 checksum
How to use checksums
26df1339df63026d2b00e804d153a1e0cbcbe8817c2dc8ff7bdf341edfe0e805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for slf4py 0.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