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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean appendFieldValue​(net.morimekta.util.io.IndentedPrintWriter writer, net.morimekta.providence.descriptor.PField field, java.lang.Object value)  
    • Method Detail

      • appendFieldValue

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