public class InternalAsyncUtil extends Object
Consider this class private.
Constructor | Description |
---|---|
InternalAsyncUtil() |
Modifier and Type | Method | 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 returnCopyright © 1999-2018. 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.