|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Handler org.apache.wink.logging.WinkLogHandler
public class WinkLogHandler
Nested Class Summary | |
---|---|
static class |
WinkLogHandler.LEVEL
|
Constructor Summary | |
---|---|
WinkLogHandler()
|
Method Summary | |
---|---|
static void |
clearRecords()
Clear all logRecords from the captured list. |
void |
close()
|
void |
flush()
|
static java.util.logging.Level |
getLogLevel()
|
static java.util.List<java.util.logging.LogRecord> |
getRecords()
get all captured LogRecords. |
static java.util.List<java.util.logging.LogRecord> |
getRecordsFilteredBy(java.lang.String logName)
Get only the records associated with the logger for a particular name. |
void |
publish(java.util.logging.LogRecord record)
|
static void |
turnLoggingCaptureOff()
turns logging capture off |
static void |
turnLoggingCaptureOn(WinkLogHandler.LEVEL _level)
turns logging capture on |
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 |
---|
public WinkLogHandler()
Method Detail |
---|
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException
public void flush()
flush
in class java.util.logging.Handler
public static java.util.logging.Level getLogLevel()
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public static void turnLoggingCaptureOn(WinkLogHandler.LEVEL _level)
public static void turnLoggingCaptureOff()
public static java.util.List<java.util.logging.LogRecord> getRecords()
public static java.util.List<java.util.logging.LogRecord> getRecordsFilteredBy(java.lang.String logName)
logName
-
public static void clearRecords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |