def METHOD_NAME(level, msg, *args, **kwargs):
    """Output log with the level as a parameter."""
    if isinstance(msg, dict):
        for _, line in enumerate(_pretty_dict(msg).split("\n")):
            Logger().get_logger().METHOD_NAME(level, line, *args, **kwargs)
    else:
        Logger().get_logger().METHOD_NAME(level, msg, *args, **kwargs)