@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Plugin
Modifier and Type | Fields | Description |
---|---|---|
static String |
EMPTY |
Value of the elementType when none is specified.
|
Modifier and Type | Required Element | Description |
---|---|---|
String |
category |
Category to place the plugin under.
|
String |
name |
Name of the plugin.
|
Modifier and Type | Optional Element | 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. |
static final String EMPTY
String name
String category
String elementType
appender
would
indicate an Appender
plugin which would be in the
<Appenders/>
element of a Configuration
.boolean printObject
Object.toString()
method for use in log messages.Copyright © 1999-2018. 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.