<filename>inssa/framework/project/Component.py
import abc
from ..utility.Logger import Logger


class Component(metaclass=abc.ABCMeta):
    def __init__(self):
        logger = Logger(type(self).__name__)

        for level in ["CRITICAL", "INFO", "DEBUG", "NONE"]:
            setattr(self, level, getattr(logger, level))

    def __name__(self):
        return type(self).__name__

    def initialize(self) -> None:
        pass

    def finalize(self) -> None:
        pass

<filename>inssa/framework/project/Component.py
import abc
from ..utility.Logger import Logger


class Component(metaclass=abc.ABCMeta):
    def __init__(self):
        logger = Logger(type(self).__name__)

        for level in ["CRITICAL", "INFO", "DEBUG", "NONE"]:
            setattr(self, level, getattr(logger, level))

    def __name__(self):
        return type(self).__name__

    def initialize(self) -> None:
        pass

    def finalize(self) -> None:
        pass
