org.apache.logging.log4j.util

Interface MultiFormatStringBuilderFormattable

    • Method Detail

      • formatTo

        void formatTo(String[] formats,
                      StringBuilder buffer)
        Writes a text representation of this object into the specified StringBuilder, ideally without allocating temporary objects.
        Parameters:
        formats - An array of Strings that provide extra information about how to format the message. Each MultiFormatStringBuilderFormattable implementation is free to use the provided formats however they choose.
        buffer - the StringBuilder to write into

Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.