Class ExtFormatter

    • Constructor Summary

      Constructors 
      Constructor Description
      ExtFormatter()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.util.logging.LogRecord record)
      abstract java.lang.String format​(ExtLogRecord extLogRecord)
      Format a message using an extended log record.
      boolean isCallerCalculationRequired()
      Determines whether or not this formatter will require caller, source level, information when a log record is formatted.
      • 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

      • ExtFormatter

        public ExtFormatter()
    • Method Detail

      • format

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

        public abstract java.lang.String format​(ExtLogRecord extLogRecord)
        Format a message using an extended log record.
        Parameters:
        extLogRecord - the log record
        Returns:
        the formatted message
      • isCallerCalculationRequired

        public boolean isCallerCalculationRequired()
        Determines whether or not this formatter will require caller, source level, information when a log record is formatted.
        Returns:
        true if the formatter will need caller information, otherwise false
        See Also:
        LogRecord.getSourceClassName(), ExtLogRecord.getSourceFileName(), ExtLogRecord.getSourceLineNumber(), LogRecord.getSourceMethodName()