Current section
Files
Jump to
Current section
Files
lib/gsmlg/logger/formatter.ex
defmodule GSMLG.Logger.Formatter do
@type opts :: [
{:encoder_opts, [Jason.encode_opt()]}
| {:metadata, :all | {:all_except, [atom()]} | [atom()]}
| {:redactors, [{module(), term()}]}
| {atom(), term()}
]
@callback format(event :: :logger.log_event(), opts :: opts()) :: iodata()
end