|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 Level |
getLogLevel()
|
static List<LogRecord> |
getRecords()
get all captured LogRecords. |
static List<LogRecord> |
getRecordsFilteredBy(String logName)
Get only the records associated with the logger for a particular name. |
void |
publish(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 SecurityException
close in class HandlerSecurityExceptionpublic void flush()
flush in class Handlerpublic static Level getLogLevel()
public void publish(LogRecord record)
publish in class Handlerpublic static void turnLoggingCaptureOn(WinkLogHandler.LEVEL _level)
public static void turnLoggingCaptureOff()
public static List<LogRecord> getRecords()
public static List<LogRecord> getRecordsFilteredBy(String logName)
logName -
public static void clearRecords()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||