You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/11/03 06:45:35 UTC

logging-log4j2 git commit: Add toString() method for debugging.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master a2c045b52 -> 7571dc3e3


Add toString() method for debugging.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/7571dc3e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/7571dc3e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/7571dc3e

Branch: refs/heads/master
Commit: 7571dc3e377c2da682eaafa823ad474433f07d60
Parents: a2c045b
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Nov 2 23:45:30 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Nov 2 23:45:30 2016 -0700

----------------------------------------------------------------------
 .../log4j/core/config/plugins/processor/PluginEntry.java       | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7571dc3e/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginEntry.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginEntry.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginEntry.java
index e87220f..dd43601 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginEntry.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginEntry.java
@@ -79,4 +79,10 @@ public class PluginEntry implements Serializable {
     public void setCategory(final String category) {
         this.category = category;
     }
+
+    @Override
+    public String toString() {
+        return "PluginEntry [key=" + key + ", className=" + className + ", name=" + name + ", printable=" + printable
+                + ", defer=" + defer + ", category=" + category + "]";
+    }
 }