LOG4J2-1334 javadoc
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/aa4ce1ef Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/aa4ce1ef Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/aa4ce1ef Branch: refs/heads/LOG4J2-1365 Commit: aa4ce1ef171b733f6866ebffa7782eadbe16a370 Parents: 5540868 Author: rpopma <[email protected]> Authored: Sun Apr 17 15:49:51 2016 +0900 Committer: rpopma <[email protected]> Committed: Sun Apr 17 15:49:51 2016 +0900 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/core/impl/MutableLogEvent.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/aa4ce1ef/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java index e86c553..9ca179b 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java @@ -70,6 +70,9 @@ public class MutableLogEvent implements LogEvent, ReusableMessage { setMessage(event.getMessage()); } + /** + * Clears all references this event has to other objects. + */ public void clear() { loggerFqcn = null; marker = null;
