Package net.sourceforge.pmd.util.log
Class AntLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- net.sourceforge.pmd.util.log.AntLogHandler
-
@Deprecated @InternalApi public class AntLogHandler extends Handler
Deprecated.Is internal APIAntLogHandler 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)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.void
flush()
Deprecated.Level
getAntLogLevel()
Deprecated.void
publish(LogRecord logRecord)
Deprecated.-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
getAntLogLevel
public Level getAntLogLevel()
Deprecated.
-
publish
public void publish(LogRecord logRecord)
Deprecated.
-
close
public void close() throws SecurityException
Deprecated.- Specified by:
close
in classHandler
- Throws:
SecurityException
-
-