(msg: str, info: bool = False)
return ''
Logs a line to either the log file or stdout.

        :param msg: The message to log
        :param info: If `False`, write to the log file. If `True`, write to
            both the log file and stdout.

        > macros/my_log_macro.sql

            {% macro some_macro(arg1, arg2) %}
              {{ log("Running some_macro: " ~ arg1 ~ ", " ~ arg2) }}
            {% endmacro %}"
Logs a line to either the log file or stdout.
Logs a line to either the log file or stdout .
def log(msg: str, info: bool = False) -> str:
        """Logs a line to either the log file or stdout.

        :param msg: The message to log
        :param info: If `False`, write to the log file. If `True`, write to
            both the log file and stdout.

        > macros/my_log_macro.sql

            {% macro some_macro(arg1, arg2) %}
              {{ log("Running some_macro: " ~ arg1 ~ ", " ~ arg2) }}
            {% endmacro %}"
        """
        if info:
            fire_event(MacroEventInfo(msg))
        else:
            fire_event(MacroEventDebug(msg))
        return ''
def log ( msg : str , info : bool = False ) -> str : if info : fire_event ( MacroEventInfo ( msg ) ) else : fire_event ( MacroEventDebug ( msg ) ) return ''