Package net.i2p.util
Class LogRecordFormatter
java.lang.Object
net.i2p.util.LogRecordFormatter
class LogRecordFormatter extends Object
Render a log record according to the log manager's settings
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LogRecordFormatter()
-
Method Summary
Modifier and Type Method Description static String
formatRecord(LogManager manager, LogRecord rec)
(package private) static String
formatRecord(LogManager manager, LogRecord rec, boolean showDate)
static String
getWhen(LogManager manager, LogRecord logRecord)
-
Field Details
-
Constructor Details
-
LogRecordFormatter
LogRecordFormatter()
-
-
Method Details
-
formatRecord
-
formatRecord
- Parameters:
showDate
- if false, skip any date in the format (use when writing to wrapper log)- Since:
- 0.8.2
-
getWhen
-