View Source LogflareLogger.LogParams (Logflare Logger Backend v0.11.4)
Parses and encodes incoming Logger messages for further serialization.
Link to this section Summary
Functions
Creates a LogParams struct when all fields have serializable values
Adds formatted stacktrace to the metadata
Encodes message, if is iodata converts to binary.
Converts erlang datetime tuple into ISO:Extended binary.
All atoms are converted to strings for Logflare server to be able to safely convert binary to terms using :erlang.binary_to_term(binary, [:safe])
Link to this section Functions
Creates a LogParams struct when all fields have serializable values
Adds formatted stacktrace to the metadata
Encodes message, if is iodata converts to binary.
Converts erlang datetime tuple into ISO:Extended binary.
All atoms are converted to strings for Logflare server to be able to safely convert binary to terms using :erlang.binary_to_term(binary, [:safe])