public class InternalAsyncUtil extends Object
Consider this class private.
Constructor and Description |
---|
InternalAsyncUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.logging.log4j.message.Message |
makeMessageImmutable(org.apache.logging.log4j.message.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 . |
public InternalAsyncUtil()
public static org.apache.logging.log4j.message.Message makeMessageImmutable(org.apache.logging.log4j.message.Message msg)
log4j.format.msg.async
is true or the message class is annotated with
AsynchronouslyFormattable
.msg
- the message object to inspect, modify and returnCopyright © 1999-2021 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.