From 1b4ec5309681fdf2bc210da4ba50f2e7d6732c21 Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Fri, 6 Aug 2021 11:18:42 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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