Packages that use LogRecord
Package
Description
General utility classes shared across the core libraries and the router.
Uses of LogRecord in net.i2p.util
Fields in net.i2p.util declared as LogRecordFields in net.i2p.util with type parameters of type LogRecordModifier and TypeFieldDescriptionprivate final LinkedBlockingQueue<LogRecord> LogManager._recordsOrdered list of LogRecord elements that have not been written out yet.Methods in net.i2p.util that return types with arguments of type LogRecordMethods in net.i2p.util with parameters of type LogRecordModifier and TypeMethodDescription(package private) voidUsed by Log to add records to the queue.private StringLogWriter.dupMessage(int dupCount, LogRecord lastRecord, boolean reverse, boolean html) Return a msg with the date stamp of the last duplicate.static StringLogRecordFormatter.formatRecord(LogManager manager, LogRecord rec) Format a log record per manager settings.(package private) static StringLogRecordFormatter.formatRecord(LogManager manager, LogRecord rec, boolean showDate) Render one log record, optionally omitting the date.private static StringLogRecordFormatter.getPriority(LogRecord rec, I2PAppContext ctx) Return the localized priority label.private static StringFormat thread name to exactly MAX_THREAD_LENGTH chars, padded or truncated.static StringLogRecordFormatter.getWhen(LogManager manager, LogRecord logRecord) Format the record timestamp.private static StringFormat the source class name, padded or truncated to MAX_WHERE_LENGTH.private voidLogWriter.writeDupMessage(int dupCount, LogRecord lastRecord) Write a msg with the date stamp of the last duplicate.protected voidFileLogWriter.writeRecord(LogRecord rec, String formatted) Write the record and its formatted text, using the record's priority.private voidLogWriter.writeRecord(LogRecord rec) Writes one record to the log file.protected abstract voidLogWriter.writeRecord(LogRecord rec, String formatted) Write the provided LogRecord to the writer.