Package org.tentackle.maven
Class MavenLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- org.tentackle.maven.MavenLogHandler
-
public class MavenLogHandler extends java.util.logging.HandlerLog handler that redirects java.util logging to the maven logger.
By default, all tentackle logging goes to the java util logger and the logs below WARN level are not of big interest during the build.
-
-
Constructor Summary
Constructors Constructor Description MavenLogHandler(org.apache.maven.plugin.logging.Log log, java.util.logging.Level minLevel)Creates a maven log handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidpublish(java.util.logging.LogRecord record)
-
-
-
Method Detail
-
publish
public void publish(java.util.logging.LogRecord record)
- Specified by:
publishin classjava.util.logging.Handler
-
flush
public void flush()
- Specified by:
flushin classjava.util.logging.Handler
-
close
public void close() throws java.lang.SecurityException- Specified by:
closein classjava.util.logging.Handler- Throws:
java.lang.SecurityException
-
-