def METHOD_NAME():
    try:
        return current_app.extensions['hades_logs']
    except KeyError:
        raise HadesConfigError(
            "No HadesLogs instance registered to current Flask app"
        ) from None