def set_logger(self, logger):
    if (not isinstance(logger, ModelLogUtilsLogger)):
        raise Exception('`logger` should subclass `ModelLogUtilsLogger`')
    self._logger = logger
def set_logger(self, logger):
    if (not isinstance(logger, ModelLogUtilsLogger)):
        raise Exception('`logger` should subclass `ModelLogUtilsLogger`')
    self._logger = logger