public class InternalAsyncUtil
extends java.lang.Object
Consider this class private.
| Constructor and Description |
|---|
InternalAsyncUtil() |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
canFormatMessageInBackground(Message message) |
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 returnprivate static boolean canFormatMessageInBackground(Message message)