org.jboss.errai.workspaces.client.util
Class WorkspaceLogger

java.lang.Object
  extended by org.jboss.errai.workspaces.client.util.WorkspaceLogger
All Implemented Interfaces:
com.allen_sauer.gwt.log.client.Logger

public class WorkspaceLogger
extends Object
implements com.allen_sauer.gwt.log.client.Logger

A slightly modified version of the orig div logger.

Author:
Fred Saur, Heiko Braun

Nested Class Summary
static interface WorkspaceLogger.ThresholdNotification
           
 
Constructor Summary
WorkspaceLogger(WorkspaceLogger.ThresholdNotification notification)
          Default constructor.
 
Method Summary
 void clear()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 boolean isSupported()
           
 boolean isVisible()
           
 void log(com.allen_sauer.gwt.log.client.LogRecord record)
           
 void setCurrentLogLevel(int level)
           
 void setPixelSize(int width, int height)
           
 void setSize(String width, String height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceLogger

public WorkspaceLogger(WorkspaceLogger.ThresholdNotification notification)
Default constructor.

Method Detail

clear

public final void clear()
Specified by:
clear in interface com.allen_sauer.gwt.log.client.Logger

getWidget

public final com.google.gwt.user.client.ui.Widget getWidget()

isSupported

public final boolean isSupported()
Specified by:
isSupported in interface com.allen_sauer.gwt.log.client.Logger

isVisible

public final boolean isVisible()

log

public void log(com.allen_sauer.gwt.log.client.LogRecord record)
Specified by:
log in interface com.allen_sauer.gwt.log.client.Logger

setCurrentLogLevel

public void setCurrentLogLevel(int level)
Specified by:
setCurrentLogLevel in interface com.allen_sauer.gwt.log.client.Logger

setPixelSize

public final void setPixelSize(int width,
                               int height)

setSize

public final void setSize(String width,
                          String height)


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.