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

@@ -27,7 +27,7 @@ class Strategy(object):
:param config:
:return:
"""
self.logger = Logger(name=__name__).get_logger()
self.logger = Logger(__name__).get_logger()
# Verify the strategy is in the configuration, otherwise fallback to the default strategy
if 'strategy' in config: