def METHOD_NAME(self, txt):
    """
    Log with level info.
    """
    warnings.warn(
        "mitmproxy's ctx.log.info() is deprecated. Please use the standard Python logging module instead.",
        DeprecationWarning,
        stacklevel=2,
    )
    logging.getLogger().METHOD_NAME(txt)