public interface Decoder
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.spi.LoggingEvent |
decode(String event)
Decode event from string.
|
Vector |
decode(URL url)
Decode event from document retreived from URL.
|
Vector |
decodeEvents(String document)
Decode events from document.
|
void |
setAdditionalProperties(Map additionalProperties)
Sets additional properties.
|
Vector decodeEvents(String document)
document
- document to decode.org.apache.log4j.spi.LoggingEvent decode(String event)
event
- string representation of eventVector decode(URL url) throws IOException
url
- url of documentIOException
- if IO error resolving document.void setAdditionalProperties(Map additionalProperties)
additionalProperties
- map of additional properties.Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.