public class SimpleTextFormatter extends Formatter
Constructor and Description |
---|
SimpleTextFormatter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addCallerInfo(LogRecord logRecord,
StringBuffer sb)
Deprecated.
Add info about the object that issued the log request.
|
protected void |
addDate(LogRecord logRecord,
StringBuffer sb)
Deprecated.
Add the time to the log record.
|
protected void |
addMessage(LogRecord logRecord,
StringBuffer sb)
Deprecated.
Add the actual log message.
|
protected void |
addThrowable(LogRecord logRecord,
StringBuffer sb)
Deprecated.
|
String |
format(LogRecord logRecord)
Deprecated.
Format the given LogRecord.
|
formatMessage, getHead, getTail
protected void addDate(LogRecord logRecord, StringBuffer sb)
logRecord
- a LogRecord for the log requestsb
- a String Buffer that holds the formatted output.protected void addCallerInfo(LogRecord logRecord, StringBuffer sb)
logRecord
- a LogRecord for the log requestsb
- a String Buffer that holds the formatted output.protected void addMessage(LogRecord logRecord, StringBuffer sb)
logRecord
- a LogRecord for the log requestsb
- a String Buffer that holds the formatted output.protected void addThrowable(LogRecord logRecord, StringBuffer sb)
Copyright © 2023. All rights reserved.