|
|
@ -60,9 +60,9 @@ format(LgMsg, Config, Colors) -> |
|
|
|
]. |
|
|
|
|
|
|
|
fmtCfg([]) -> |
|
|
|
[datetime, sev, node, <<"|">>, pid, <<"|">>, module, <<"|">>, function, <<"|">>, line, <<"|">>, message, <<"\n">>]; |
|
|
|
[datetime, sev, <<"|">>, pid, <<"|">>, module, <<"|">>, function, <<"|">>, line, <<"|">>, message, <<"\n">>]; |
|
|
|
fmtCfg(MetaWhitelist) -> |
|
|
|
[datetime, sev, node, <<"|">>, pid, <<"|">>, module, <<"|">>, function, <<"|">>, line, <<"|">>] ++ |
|
|
|
[datetime, sev, <<"|">>, pid, <<"|">>, module, <<"|">>, function, <<"|">>, line, <<"|">>] ++ |
|
|
|
[{M, [atom_to_binary(M), <<"=">>, M, "|"], [<<>>]} || M <- MetaWhitelist] ++ [message, <<"\n">>]. |
|
|
|
|
|
|
|
%% @doc Print the format string `Fmt' with `Args' safely with a size |
|
|
|