make name a required argument and add fallback to getEffectiveLevel

This commit is contained in:
gcarq
2018-03-25 21:05:10 +02:00
parent a2c3df3ac5
commit 3f8d7dae39
14 changed files with 20 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ class Configuration(object):
"""
def __init__(self, args: Namespace) -> None:
self.args = args
self.logging = Logger(name=__name__)
self.logging = Logger(__name__)
self.logger = self.logging.get_logger()
self.config = None