Skip to main content

InOutLogger

Decorator based utility to implement Entry-Exit logs for methods

Getting Started

Prerequisites

python>=3.6

Installing

pip install inoutlogger

A Simple Example

from inoutlogger.utils import InOutLogger, Logger
from inoutlogger.decorators import entry_exit_log

# With Single Logger
LOGGER # Your Application Logger
logger1 = Logger(log_handler =LOGGER,  name="application_logger")

InOutLogger(logger1)

@in_out_log()
def test():
  print("Demo Single log handler")

test() # See Log file for output

# With Multiple Logger
LOGGER1 # Your Application Logger
LOGGER2 # Other Logger
logger1 = Logger(log_handler =LOGGER1,  name="application_logger")
logger2 = Logger(log_handler =LOGGER2,  name="Other")

InOutLogger([logger1, logger2])

@in_out_log(handler_name="Other")
def test():
  print("Demo Multiple log handler")

test() # See Log file for output  

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Metadata

Release files for inoutlogger 1.0.3

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

Source distribution (sdist)

Source distribution for inoutlogger 1.0.3
File Size Uploaded Provenance Actions
inoutlogger-1.0.3.tar.gz 3.0 kB Without provenance Details for inoutlogger-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / inoutlogger-1.0.3.tar.gz

Download URL inoutlogger-1.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
04ebb6fcc44541dd32d49cff63985082a8620311f1514465fd8eb629f4dea083
BLAKE2b-256 checksum
How to use checksums
0fced439b3b25530312eca6d2d67e8e6da84d149e7d24559b19670d5e6ac5cb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Release files / inoutlogger-1.0.3-py3-none-any.whl

Download URL inoutlogger-1.0.3-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad6a209b5f0db40efae70155130bb7ae85e38401641f7e8ede00fbc9cc77606c
BLAKE2b-256 checksum
How to use checksums
ec674994a58efaa4b6b0c954859c84e59bb99f9e063f457f316373146bf7bb9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Security for inoutlogger 1.0.3

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