[]
llogpy
what is llogpy ?
- llogpy is a open source logging modules developed for people who want to log certain methods in a class or a function.
- all you have to do is decorate a function with @logMethod. If you want to log entire class i mean all methods in a class just decorate with @logClass
- please refer to examples on how to use llogpy
- Note Logging methods dosent works on static function in class
Installation
pip install llogpy
Usage
from llogpy.llogpy import logMethod,logClass
class A(object):
def __init__(self):
pass
@logMethod
def method(self):
print(" I am a method ")
@logMethod
def clsmethod(cls):
print(" i am a class method ")
if __name__ == "__main__":
obj = A()
obj.method()
obj.clsmethod()
Example 2
from llogpy.llogpy import logMethod,logClass
@logClass
class A(object):
def __init__(self):
pass
def method(self):
print(" I am a method ")
def clsmethod(cls):
print(" i am a class method ")
if __name__ == "__main__":
obj = A()
obj.method()
obj.clsmethod()
Authors
Soumil Nitin Shah
Bachelor in Electronic Engineering | Masters in Electrical Engineering | Master in Computer Engineering |
- Website : https://soumilshah.herokuapp.com
- Github: https://github.com/soumilshah1995
- Linkedin: https://www.linkedin.com/in/shah-soumil/
- Blog: https://soumilshah1995.blogspot.com/
- Youtube : https://www.youtube.com/channel/UC_eOodxvwS_H7x2uLQa-svw?view_as=subscriber
- Facebook Page : https://www.facebook.com/soumilshah1995/
- Email : shahsoumil519@gmail.com
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Metadata
Release files for llogpy 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llogpy-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / llogpy-3.0.0-py3-none-any.whl
| Download URL | llogpy-3.0.0-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c95b436c43d2af7b8fa3ca8b7573f01129807a9891d0f877c8333bd78c713b13
|
|
BLAKE2b-256 checksum How to use checksums |
720c77e2ae08e5cba66909e30e5ccd836c55b022ccfa640b0172aaa6374d6fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for llogpy 3.0.0
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.