com.google.gwt.libideas.logging.client
Class SimpleLogHandler

java.lang.Object
  extended by com.google.gwt.libideas.logging.shared.LogHandler
      extended by com.google.gwt.libideas.logging.client.PopupWidgetLogHandler
          extended by com.google.gwt.libideas.logging.client.SimpleLogHandler

public class SimpleLogHandler
extends PopupWidgetLogHandler

A very simple log handler meant to display simple messages.


Field Summary
 
Fields inherited from class com.google.gwt.libideas.logging.client.PopupWidgetLogHandler
autoShow, popup
 
Constructor Summary
SimpleLogHandler(boolean popup)
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void publish(java.lang.String message, Level level, java.lang.String category, java.lang.Throwable e)
          publish the message.
 
Methods inherited from class com.google.gwt.libideas.logging.client.PopupWidgetLogHandler
hideHandler, setPopupPosition, showLog
 
Methods inherited from class com.google.gwt.libideas.logging.shared.LogHandler
clear, format, getLevel, isSupported, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLogHandler

public SimpleLogHandler(boolean popup)
Method Detail

getWidget

public com.google.gwt.user.client.ui.Widget getWidget()
Specified by:
getWidget in class PopupWidgetLogHandler

publish

public void publish(java.lang.String message,
                    Level level,
                    java.lang.String category,
                    java.lang.Throwable e)
Description copied from class: LogHandler
publish the message.

Specified by:
publish in class LogHandler
Parameters:
message - the message
level - the message's level
category - optional category
e - optional throwable