Class CompactFormatter


public class CompactFormatter extends Formatter
Creates a log message formatter that uses a compact format with log records only taking up a single line. This makes it easier to process log files in other tools, or scan them manually.

Messages are logged using the default time zone for date and time. See Platform.getDefaultTimeZone() for more information.

  • Constructor Details

    • CompactFormatter

      public CompactFormatter(boolean includeClassName)
    • CompactFormatter

      public CompactFormatter()
  • Method Details