(self, record, handler)
return json.dumps(dct, cls=dbt.utils.JSONEncoder)
Return a the record converted to LogMessage's JSON form
Return a the record converted to LogMessage's JSON form
Return a the record converted to LogMessage s JSON form
def __call__(self, record, handler):
        """Return a the record converted to LogMessage's JSON form"""
        # utils imports exceptions which imports logger...
        import dbt.utils
        log_message = super().__call__(record, handler)
        dct = log_message.to_dict(omit_none=True)
        return json.dumps(dct, cls=dbt.utils.JSONEncoder)
def __call__ ( self , record , handler ) : # utils imports exceptions which imports logger... import dbt . utils log_message = super ( ) . __call__ ( record , handler ) dct = log_message . to_dict ( omit_none = True ) return json . dumps ( dct , cls = dbt . utils . JSONEncoder )