Class OneLineFormatter


  • public class OneLineFormatter
    extends java.util.logging.SimpleFormatter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.text.SimpleDateFormat date_format  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.String calcDate​(long millisecs)  
      java.lang.String format​(java.util.logging.LogRecord rec)  
      • 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
    • Field Detail

      • date_format

        java.text.SimpleDateFormat date_format
    • Constructor Detail

      • OneLineFormatter

        public OneLineFormatter()
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord rec)
        Overrides:
        format in class java.util.logging.SimpleFormatter
      • calcDate

        private java.lang.String calcDate​(long millisecs)