diff --git a/README.md b/README.md index 7657a7f..a940553 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # logger -Simple logger function for other scripts \ No newline at end of file +Simple logger function for other scripts + +## Usage example +```python +try: + from loghandler import logger +except: + # if loghandler.py is located in subdirectory "lib" + from lib.loghandler import logger +``` \ No newline at end of file