net.sourceforge.pmd.util
Class ConsoleLogHandler
java.lang.Object
extended by java.util.logging.Handler
extended by net.sourceforge.pmd.util.ConsoleLogHandler
public class ConsoleLogHandler
- extends java.util.logging.Handler
Log to the console using a basic formatter.
- Author:
- Wouter Zelle
Method Summary |
void |
close()
|
void |
flush()
|
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 |
ConsoleLogHandler
public ConsoleLogHandler()
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
-
Copyright © 2002-2011 InfoEther. All Rights Reserved.