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

Summary

Types

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

Callbacks

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