Class LogFormatter


  • public class LogFormatter
    extends java.util.logging.Formatter
    The log formatter implements a Formatter. It is used by the application's logging functionality to pretty-print the log output.

    Log format:

    • Date/time
    • Logger name
    • Thread name
    • Log level
    • Log message

    Note: This class might not be directly referenced through code Instead, it can be referenced (and instantiated) using a logging.properties file.

    • Constructor Summary

      Constructors 
      Constructor Description
      LogFormatter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.util.logging.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
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        Specified by:
        format in class java.util.logging.Formatter