|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.allen_sauer.gwt.log.client.NullLogger
com.allen_sauer.gwt.log.client.RemoteLogger
com.allen_sauer.gwt.log.client.RemoteLoggerImpl
public final class RemoteLoggerImpl
Logger which sends log records via GWT RPC to the server where it can be deobfuscated and logged.
Constructor Summary | |
---|---|
RemoteLoggerImpl()
|
Method Summary | |
---|---|
void |
clear()
|
boolean |
isSupported()
|
void |
log(LogRecord record)
|
void |
loggersLog(LogRecord record)
Call NullLogger.log(LogRecord) on all the loggers. |
void |
setCurrentLogLevel(int level)
|
Methods inherited from class com.allen_sauer.gwt.log.client.RemoteLogger |
---|
getLogger, loggersAdd, loggersClear, loggersSetCurrentLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteLoggerImpl()
Method Detail |
---|
public void clear()
clear
in interface Logger
clear
in class NullLogger
public boolean isSupported()
isSupported
in interface Logger
isSupported
in class NullLogger
public void log(LogRecord record)
log
in interface Logger
log
in class NullLogger
public void loggersLog(LogRecord record)
RemoteLogger
NullLogger.log(LogRecord)
on all the loggers. In this implementation we just pass the call
to all our loggers immediately.
loggersLog
in class RemoteLogger
record
- the LogRecord to log.log(LogRecord)
public void setCurrentLogLevel(int level)
setCurrentLogLevel
in interface Logger
setCurrentLogLevel
in class NullLogger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |