def __init__(self, pub_handler, log_level):
        self._logger = logging.getLogger()
        self._logger.addHandler(pub_handler)
        self._logger.setLevel(log_level)
Initialize the logger.
dataset/ETHPy150Open retresco/Spyder/src/spyder/core/log.py/LoggingMixin.__init__