Class InternalAsyncUtil


  • public class InternalAsyncUtil
    extends Object
    Helper class providing some async logging-related functionality.

    Consider this class private.

    • Constructor Detail

      • InternalAsyncUtil

        public InternalAsyncUtil()
    • Method Detail

      • makeMessageImmutable

        public static Message makeMessageImmutable​(Message msg)
        Returns the specified message, with its content frozen unless system property log4j.format.msg.async is true or the message class is annotated with AsynchronouslyFormattable.
        Parameters:
        msg - the message object to inspect, modify and return
        Returns:
        Returns the specified message, with its content frozen