public class IfsTextFormatter extends Formatter
Constructor and Description |
---|
IfsTextFormatter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCallerInfo(LogRecord logRecord,
StringBuffer sb)
Add info about the object that issued the log request.
|
protected void |
addCmsdkInfo(LogRecord logRecord,
StringBuffer sb)
Add extra CMSDK info.
|
protected void |
addDate(LogRecord logRecord,
StringBuffer sb)
Add the time to the log record.
|
protected void |
addMessage(LogRecord logRecord,
StringBuffer sb)
Add the actual log message.
|
protected void |
addThrowable(LogRecord logRecord,
StringBuffer sb) |
String |
format(LogRecord logRecord)
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 addCmsdkInfo(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.