|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.libideas.logging.shared.LogHandler
com.google.gwt.libideas.logging.client.DivLogHandler
public class DivLogHandler
Logger which outputs to a draggable floating DIV
.
Constructor Summary | |
---|---|
DivLogHandler()
Default constructor. |
Method Summary | |
---|---|
void |
clear()
Clears the handler if clear is supported. |
static java.lang.String |
formatMessage(java.lang.String message,
Level level,
java.lang.Throwable throwable)
|
com.google.gwt.user.client.ui.Widget |
getWidget()
|
void |
hideHandler()
Hides the handler, if hiding is supported. |
boolean |
isSupported()
Is this handler supported in the given compilation configuration? By default the answer is "yes". |
boolean |
isVisible()
|
static java.lang.String |
makeTitle(java.lang.String message,
java.lang.Throwable throwable)
|
void |
moveTo(int x,
int y)
|
void |
publish(java.lang.String message,
Level level,
java.lang.String category,
java.lang.Throwable throwable)
publish the message. |
void |
setPixelSize(int width,
int height)
|
void |
setSize(java.lang.String width,
java.lang.String height)
|
Methods inherited from class com.google.gwt.libideas.logging.shared.LogHandler |
---|
format, getLevel, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DivLogHandler()
Method Detail |
---|
public final void clear()
LogHandler
clear
in class LogHandler
public final com.google.gwt.user.client.ui.Widget getWidget()
public final boolean isSupported()
LogHandler
isSupported
in class LogHandler
public final boolean isVisible()
public final void moveTo(int x, int y)
public final void setPixelSize(int width, int height)
public final void setSize(java.lang.String width, java.lang.String height)
public final void publish(java.lang.String message, Level level, java.lang.String category, java.lang.Throwable throwable)
LogHandler
publish
in class LogHandler
message
- the messagelevel
- the message's levelcategory
- optional categorythrowable
- optional throwablepublic static java.lang.String formatMessage(java.lang.String message, Level level, java.lang.Throwable throwable)
public static java.lang.String makeTitle(java.lang.String message, java.lang.Throwable throwable)
public void hideHandler()
LogHandler
hideHandler
in class LogHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |