def METHOD_NAME(self, msg: str, kwargs):
    extra: dict = self.extra | kwargs.get("extra", {})
    msg = (
        " ".join([f'{key}="{value}"' for key, value in extra.items()])
        + f' message="{msg}"'
    )
    return (msg, kwargs)