Simplify logger initialisation

This commit is contained in:
2022-03-06 10:03:52 +00:00
parent 5aa9ba9294
commit 34a182cbf5

View File

@@ -84,16 +84,10 @@ class Base(object):
name = self.__class__.__name__
# Set up all the logging stuff
self._setup_logger(name)
self.log = get_logger(name)
self.log.info("Class initialised")
def _setup_logger(self, name):
"""
Set up the logging handlers.
"""
self.log = get_logger(name)
def xmerge_attrs(init_map):
"""