Interface LogFormatter.FieldHandler

  • Enclosing class:
    LogFormatter
    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 LogFormatter.FieldHandler
    Handler for a single field in a message. If it returns true, will consume the field. The visible (printed) value must be written to the IndentedPrintWriter.
    • Method Detail

      • appendFieldValue

        boolean appendFieldValue​(net.morimekta.util.io.IndentedPrintWriter writer,
                                 PField field,
                                 java.lang.Object value)