LogEventParserJsonLogEventParser, XmlLogEventParser, YamlLogEventParserpublic interface TextLogEventParser extends LogEventParser
LogEvent.| Modifier and Type | Method | Description |
|---|---|---|
LogEvent |
parseFrom(String input) |
Parses a String, which is expected to contain exactly one log event.
|
parseFrom, parseFromLogEvent parseFrom(String input) throws ParseException
input - the stringParseException - if the input is malformed and cannot be parsed as a LogEventCopyright © 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.