Class LogFormatter

java.lang.Object
java.util.logging.Formatter
cl.obcom.desktopfx.util.LogFormatter

public final class LogFormatter extends Formatter
Prints a LogRecord using the Desktop standard format.
  • Constructor Details

    • LogFormatter

      public LogFormatter()
  • Method Details

    • format

      public String format(LogRecord record)
      Returns a formatted string of the supplied log record.
      Specified by:
      format in class Formatter
      Parameters:
      record - the log record to be formatted.
      Returns:
      a formatted string of the supplied log record.
      Throws:
      NullPointerException - if record is null.