@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Plugin
Modifier and Type | Fields and Description |
---|---|
static String |
EMPTY
Value of the elementType when none is specified.
|
Modifier and Type | Required Element and Description |
---|---|
String |
category
Category to place the plugin under.
|
String |
name
Name of the plugin.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
deferChildren |
String |
elementType
Name of the corresponding category of elements this plugin belongs under.
|
boolean |
printObject
Indicates if the plugin class implements a useful
Object.toString() method for use in log messages. |
public static final String EMPTY
public abstract String name
public abstract String category
public abstract String elementType
appender
would
indicate an Appender
plugin which would be in the
<Appenders/>
element of a Configuration
.public abstract boolean printObject
Object.toString()
method for use in log messages.Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.