You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/05/16 15:52:27 UTC
logging-log4j2 git commit: LOG4J2-1297 updated text with Mikael's
feedback that StringBuilderFormattable will be used by all garbage-free
Layouts, not just PatternLayout
Repository: logging-log4j2
Updated Branches:
refs/heads/master da854c011 -> e61dc6ec3
LOG4J2-1297 updated text with Mikael's feedback that StringBuilderFormattable will be used by all garbage-free Layouts, not just PatternLayout
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/e61dc6ec
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/e61dc6ec
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/e61dc6ec
Branch: refs/heads/master
Commit: e61dc6ec3bc545e3594b3b19330f05ffdfeefeb3
Parents: da854c0
Author: rpopma <rp...@apache.org>
Authored: Tue May 17 00:53:01 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Tue May 17 00:53:01 2016 +0900
----------------------------------------------------------------------
src/site/xdoc/manual/garbagefree.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e61dc6ec/src/site/xdoc/manual/garbagefree.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/garbagefree.xml b/src/site/xdoc/manual/garbagefree.xml
index ab5045c..080142b 100644
--- a/src/site/xdoc/manual/garbagefree.xml
+++ b/src/site/xdoc/manual/garbagefree.xml
@@ -456,8 +456,9 @@ public void garbageFree() {
<subsection name="Under the Hood">
<p>
Custom Message implementations that implement <tt>org.apache.logging.log4j.util.StringBuilderFormattable</tt>
- can be converted to text by PatternLayout without creating temporary objects.
- Other layouts that convert LogEvents to text will likely also look for this interface.
+ can be converted to text by garbage-free Layouts without creating temporary objects.
+ PatternLayout uses this mechanism and other layouts that convert LogEvents to text
+ will likely also look for this interface.
</p>
<p>
Custom Layouts that want to be garbage-free should implement the <tt>Encoder<LogEvent></tt> interface.