Lines Matching refs:format_msg
73 MsgStr0 = format_msg(Msg0,Meta1,Config1),
171 format_msg({string,Chardata},Meta,Config) -> function
172 format_msg({"~ts",[Chardata]},Meta,Config);
173 format_msg({report,_}=Msg,Meta,#{report_cb:=Fun}=Config) function
175 format_msg(Msg,Meta#{report_cb=>Fun},maps:remove(report_cb,Config));
176 format_msg({report,Report},#{report_cb:=Fun}=Meta,Config) when is_function(Fun,1) -> function
179 format_msg({Format,Args},maps:remove(report_cb,Meta),Config);
182 format_msg({"REPORT_CB/1 ERROR: "++P++"; Returned: "++P,
186 format_msg({"REPORT_CB/1 CRASH: "++P++"; Reason: "++P,
190 format_msg({report,Report},#{report_cb:=Fun}=Meta,Config) when is_function(Fun,2) -> function
196 format_msg({"REPORT_CB/2 ERROR: "++P++"; Returned: "++P,
201 format_msg({"REPORT_CB/2 ERROR: "++P++"; Returned: "++P,
205 format_msg({"REPORT_CB/2 CRASH: "++P++"; Reason: "++P,
209 format_msg({report,Report},Meta,Config) -> function
210 format_msg({report,Report},
213 format_msg(Msg,_Meta,#{depth:=Depth,chars_limit:=CharsLimit, function
216 format_msg(Msg, Depth, Opts, Single).
221 format_msg({Format0,Args},Depth,Opts,Single) -> function
234 format_msg({FormatError,[Format0,Args]},Depth,Opts,Single)