|
|
@ -495,9 +495,9 @@ add_trace_to_loglevel_config(Trace, Sink) -> |
|
|
|
%% arguments. The caller is NOT crashed. |
|
|
|
|
|
|
|
unsafeFormat(Fmt, Args) -> |
|
|
|
try io_lib:format(Fmt, Args) |
|
|
|
try eFmt:formatBin(Fmt, Args) |
|
|
|
catch |
|
|
|
_:_ -> io_lib:format("FORMAT ERROR SAFE: ~p ~p", [Fmt, Args]) |
|
|
|
_:_ -> eFmt:formatBin(<<"FORMAT ERROR SAFE: ~p ~p";>>, [Fmt, Args]) |
|
|
|
end. |
|
|
|
|
|
|
|
safeFormat(Fmt, Args, Limit) -> |
|
|
|