|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.logging.Handler
com.google.gwt.logging.client.HasWidgetsLogHandler
public class HasWidgetsLogHandler
A handler which can log to any widget which extends the HasWidgets interface. This allows users to log to anywhere they would like in their UI - see the LogConfiguration class for an example. Note that the widget passed in must handle multiple calls to widget.add(widget) gracefully.
| Constructor Summary | |
|---|---|
HasWidgetsLogHandler(HasWidgets container)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
close()
|
void |
flush()
|
void |
publish(java.util.logging.LogRecord record)
|
| 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 HasWidgetsLogHandler(HasWidgets container)
| Method Detail |
|---|
public void clear()
public void close()
close in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handlerpublic void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handler
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||