Package nxt.util

Class BriefLogFormatter


  • public class BriefLogFormatter
    extends java.util.logging.Formatter
    A Java logging formatter that writes more compact output than the default
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.util.logging.LogRecord logRecord)
      Format the log record as follows: Date Level Message ExceptionTrace
      • 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 logRecord)
        Format the log record as follows: Date Level Message ExceptionTrace
        Specified by:
        format in class java.util.logging.Formatter
        Parameters:
        logRecord - The log record
        Returns:
        The formatted string