StructuredLogFormatterFactory

constructor(logEventType: Class<E>, environment: Environment, availableParameters: Consumer<Instantiator.AvailableParameters>, commonFormatters: Consumer<StructuredLogFormatterFactory.CommonFormatters<E>>)

Create a new StructuredLogFormatterFactory instance.

Parameters

logEventType

the log event type

environment

the Spring Environment

availableParameters

callback used to configure available parameters for thespecific logging system

commonFormatters

callback used to define supported common formatters