public interface PatternConverter
Modifier and Type | Method and Description |
---|---|
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.
|
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()
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.