|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PatternConverter
Interface that all PatternConverters must implement.
Field Summary | |
---|---|
static String |
CATEGORY
Main plugin category for PatternConverter plugins. |
Method Summary | |
---|---|
void |
format(Object obj,
StringBuilder toAppendTo)
Formats an object into a string buffer. |
String |
getName()
Returns the name of the converter. |
String |
getStyleClass(Object e)
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null. |
Field Detail |
---|
static final String CATEGORY
Method Detail |
---|
void format(Object obj, StringBuilder toAppendTo)
obj
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.String getName()
String getStyleClass(Object e)
e
- null values are accepted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2015 Apache Software Foundation. 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.