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