def METHOD_NAME(self):
    log = get_logger(str(self.__class__.__name__))
    try:
        log.setLevel(LOG_LEVEL_ENV_VAR.get(default=log.level))
    except TypeError as ex:
        raise ValueError('Invalid log level defined in environment variable `%s`: %s' % (LOG_LEVEL_ENV_VAR, ex))
    return log