def METHOD_NAME(
    level: str = None,
    formatter_kind: str = FormatterKinds.HUMAN.name,
    name: str = "mlrun",
    stream=stdout,
):
    level = level or config.log_level or "info"
    level = logging.getLevelName(level.upper())
    # create logger instance
    logger_instance = Logger(level, name=name, propagate=False)
    # resolve formatter
    formatter_instance = _create_formatter_instance(
        FormatterKinds(formatter_kind.lower())
    )
    # set handler
    logger_instance.set_handler("default", stream or stdout, formatter_instance)
    return logger_instance