Class PatternFormat

  • All Implemented Interfaces:

    
    public final class PatternFormat
    extends Formatter
                        

    A Formatter implements Formatter provides support for formatting Logs.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String TIMESTAMP
      public final static String LEVEL
      public final static String THREAD
      public final static String LOGGER
      public final static String PATTERN
      public final static String COLOR_PATTERN
    • Constructor Summary

      Constructors 
      Constructor Description
      PatternFormat(Boolean useColor, Boolean messageOnly)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String format(LogRecord record)
      • Methods inherited from class java.util.logging.Formatter

        formatMessage, getHead, getTail
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PatternFormat

        PatternFormat(Boolean useColor, Boolean messageOnly)
    • Method Detail

      • format

         String format(LogRecord record)