Class UIMALogFormatter


  • public class UIMALogFormatter
    extends java.util.logging.Formatter
    JSR47 log formatter for UIMA JSR47Logger Provides a log format which looks like: timestamp; threadID; sourceInfo; Message level; message e.g. 7/12/04 2:15:35 PM - 10: org.apache.uima.util.TestClass.main(62): INFO: You are not logged in!
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String CRLF  
      (package private) java.text.SimpleDateFormat tsFormatter  
    • 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
    • Field Detail

      • tsFormatter

        java.text.SimpleDateFormat tsFormatter
      • CRLF

        private static final java.lang.String CRLF
    • Constructor Detail

      • UIMALogFormatter

        public UIMALogFormatter()
    • Method Detail

      • format

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