logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1613836 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java
Date Sun, 27 Jul 2014 19:53:53 GMT
Author: mattsicker
Date: Sun Jul 27 19:53:53 2014
New Revision: 1613836

URL: http://svn.apache.org/r1613836
Log:
Add javadoc for elementType in @Plugin.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java?rev=1613836&r1=1613835&r2=1613836&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java
Sun Jul 27 19:53:53 2014
@@ -47,6 +47,11 @@ public @interface Plugin {
      */
     String category();
 
+    /**
+     * Name of the corresponding category of elements this plugin belongs under. For example,
{@code appender} would
+     * indicate an {@link org.apache.logging.log4j.core.Appender} plugin which would be in
the
+     * {@code <Appenders/>} element of a {@link org.apache.logging.log4j.core.config.Configuration}.
+     */
     String elementType() default EMPTY;
 
     boolean printObject() default false;



Mime
View raw message