Class InternalAsyncUtil
java.lang.Object
org.apache.logging.log4j.core.async.InternalAsyncUtil
Helper class providing some async logging-related functionality.
Consider this class private.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Message
Returns the specified message, with its content frozen unless system propertylog4j.format.msg.async
is true or the message class is annotated withAsynchronouslyFormattable
.
-
Constructor Details
-
InternalAsyncUtil
public InternalAsyncUtil()
-
-
Method Details
-
makeMessageImmutable
Returns the specified message, with its content frozen unless system propertylog4j.format.msg.async
is true or the message class is annotated withAsynchronouslyFormattable
.- Parameters:
msg
- the message object to inspect, modify and return- Returns:
- Returns the specified message, with its content frozen
-