def METHOD_NAME(self, txt):
    """
    Log with level alert. Alerts have the same urgency as info, but
    signals to interactive tools that the user's attention should be
    drawn to the output even if they're not currently looking at the
    event log.
    """
    warnings.warn(
        "mitmproxy's ctx.log.alert() is deprecated. Please use the standard Python logging module instead.",
        DeprecationWarning,
        stacklevel=2,
    )
    logging.getLogger().log(ALERT, txt)