def METHOD_NAME(self, message, flags=None):
    """
    Send auditing message.
    Parameters
    ----------
    message : :obj:`dict`
        A message in Pydra is a JSON-LD message object.
    flags : :obj:`bool`, optional
        If True and self.audit_flag, the message is sent.
    """
    if self.develop:
        context_file = importlib_resources.files("pydra") / "schema/context.jsonld"
        with context_file.open() as fp:
            context = json.load(fp)
    else:
        context = {
            "@context": "https://raw.githubusercontent.com/nipype/pydra"
            "/master/pydra/schema/context.jsonld"
        }
    if self.audit_flags & flags:
        if self.messenger_args:
            send_message(
                make_message(message, context=context),
                messengers=self.messengers,
                **self.messenger_args,
            )
        else:
            send_message(
                make_message(message, context=context), messengers=self.messengers
            )