com.allen_sauer.gwt.log.client
Class GWTLogger

java.lang.Object
  extended by com.allen_sauer.gwt.log.client.GWTLogger
All Implemented Interfaces:
Logger

public final class GWTLogger
extends java.lang.Object
implements Logger

Logger which outputs to GWT.log(String, Throwable).


Constructor Summary
GWTLogger()
           
 
Method Summary
 void clear()
           
 boolean isSupported()
           
 void log(LogRecord record)
           
 void setCurrentLogLevel(int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWTLogger

public GWTLogger()
Method Detail

clear

public void clear()
Specified by:
clear in interface Logger

isSupported

public boolean isSupported()
Specified by:
isSupported in interface Logger

log

public void log(LogRecord record)
Specified by:
log in interface Logger

setCurrentLogLevel

public void setCurrentLogLevel(int level)
Specified by:
setCurrentLogLevel in interface Logger