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 Details

  • Constructor Details

    • LogRecordFormatter

      LogRecordFormatter()
  • Method Details

    • formatRecord

      public static String formatRecord(LogManager manager, LogRecord rec)
    • formatRecord

      static String formatRecord(LogManager manager, LogRecord rec, boolean showDate)
      Parameters:
      showDate - if false, skip any date in the format (use when writing to wrapper log)
      Since:
      0.8.2
    • getWhen

      public static String getWhen(LogManager manager, LogRecord logRecord)