Interface PatternFormatterFactory.CompositeFactory

All Superinterfaces:
PatternFormatterFactory
Enclosing interface:
PatternFormatterFactory

public static non-sealed interface PatternFormatterFactory.CompositeFactory extends PatternFormatterFactory
A composite formatter factory expects possible children. For example %keyword(child) .
  • Method Details

    • create

      LogFormatter create(PatternConfig config, PatternKeyword node, @Nullable LogFormatter child)
      Creates a formatter from a keyword.
      Parameters:
      config - config to help create formatter.
      node - current keyword info.
      child - the embedded child in the keyword or null if non is provided.
      Returns:
      formatter.