Interface StructuredLogFormatterFactory.CommonFormatterFactory<E>
- Type Parameters:
E
- the log event type
- Enclosing class:
- StructuredLogFormatterFactory<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface StructuredLogFormatterFactory.CommonFormatterFactory<E>
Factory used to create a
StructuredLogFormatter
for a given
CommonStructuredLogFormat
.-
Method Summary
Modifier and TypeMethodDescriptioncreateFormatter
(Instantiator<?> instantiator) Create theStructuredLogFormatter
instance.
-
Method Details
-
createFormatter
Create theStructuredLogFormatter
instance.- Parameters:
instantiator
- instantiator that can be used to obtain arguments- Returns:
- a new
StructuredLogFormatter
instance
-