Metadata-Version: 2.1
Name: llogpy
Version: 3.0.0
Summary: 
    just add @logMethod and @logClass  to add log files for your methods          
Home-page: https://github.com/soumilshah1995/AppleStock
Author: Soumil Nitin Shah
Author-email: soushah@my.bridgeport.edu
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown


[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)]


# 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 


<img width="542" alt="Screen Shot 2019-11-06 at 8 35 47 AM" src="https://user-images.githubusercontent.com/39345855/68302653-6fc8f700-0070-11ea-8d3b-1f1213f4579d.png">




## Installation

```bash
pip install llogpy
```
## Usage


```python
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

```python
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](LICENSE.md) file for details




