Class AntLogHandler


  • public class AntLogHandler
    extends java.util.logging.Handler
    AntLogHandler sends log messages to an Ant Task, so the regular Ant logging is used.
    Author:
    Wouter Zelle
    • Constructor Summary

      Constructors 
      Constructor Description
      AntLogHandler​(org.apache.tools.ant.Project project)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      java.util.logging.Level getAntLogLevel()  
      void publish​(java.util.logging.LogRecord logRecord)  
      • Methods inherited from class java.util.logging.Handler

        getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AntLogHandler

        public AntLogHandler​(org.apache.tools.ant.Project project)
    • Method Detail

      • getAntLogLevel

        public java.util.logging.Level getAntLogLevel()
      • publish

        public void publish​(java.util.logging.LogRecord logRecord)
        Specified by:
        publish in class java.util.logging.Handler
      • close

        public void close()
                   throws java.lang.SecurityException
        Specified by:
        close in class java.util.logging.Handler
        Throws:
        java.lang.SecurityException
      • flush

        public void flush()
        Specified by:
        flush in class java.util.logging.Handler