Class LogParser.Entry
java.lang.Object
org.apache.juneau.microservice.examples.LogParser.Entry
- Enclosing class:
- LogParser
Represents a single line from the log file.
-
Field Details
-
date
Log entry timestamp. -
severity
Log level (SEVERE, WARNING, INFO, etc.). -
logger
Logger name (simple class name). -
line
-
text
-
thread
-
additionalText
-
isRecord
-
-
Method Details
-
appendHtml
Appends HTML-escaped log entry to the writer.- Parameters:
w- The writer.- Returns:
- The writer for chaining.
- Throws:
IOException- If writing fails.
-
getText
Returns the full log message text, including additional stacked lines.- Returns:
- The message text.
-
getThread
Returns the thread name.- Returns:
- The thread name.
-
append
- Throws:
IOException
-