StructuredLogFormatterFactory
Factory that can be used to create a fully instantiated StructuredLogFormatter for either a common format or a fully-qualified class name.
Author
Moritz Halbritter
Phillip Webb
Since
3.4.0
Parameters
<E>
the log even type
See also
Constructors
Link copied to clipboard
constructor(logEventType: Class<E>, environment: Environment, availableParameters: Consumer<Instantiator.AvailableParameters>, commonFormatters: Consumer<StructuredLogFormatterFactory.CommonFormatters<E>>)
Create a new StructuredLogFormatterFactory instance.
Types
Link copied to clipboard
Factory used to create a StructuredLogFormatter for a given CommonStructuredLogFormat.
Link copied to clipboard
Callback used for configure the CommonFormatterFactory to use for a given CommonStructuredLogFormat.
Functions
Link copied to clipboard
Get a new StructuredLogFormatter instance for the specified format.