Package net.i2p.util
Class LogRecordFormatter
java.lang.Object
net.i2p.util.LogRecordFormatter
Render a log record according to the log manager's settings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatRecord(LogManager manager, LogRecord rec) (package private) static StringformatRecord(LogManager manager, LogRecord rec, boolean showDate) static StringgetWhen(LogManager manager, LogRecord logRecord)
-
Field Details
-
NL
-
-
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
-