diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..2846bf7 --- /dev/null +++ b/__init__.py @@ -0,0 +1,3 @@ +from loghandler import loghandler + +logger = loghandler() diff --git a/loghandler.py b/loghandler.py index 4844263..1bd6239 100644 --- a/loghandler.py +++ b/loghandler.py @@ -39,6 +39,3 @@ def loghandler(): _logger.addHandler(handler) return _logger - - -logger = loghandler()