View Source LoggerJSON.Formatter behaviour (logger_json v6.2.1)

Summary

Types

@type opts() :: [
  {:encoder_opts, [Jason.encode_opt()]}
  | {:metadata, :all | {:all_except, [atom()]} | [atom()]}
  | {:redactors, [{module(), term()}]}
  | {atom(), term()}
]

Callbacks

@callback format(event :: :logger.log_event(), opts :: opts()) :: iodata()