|
|||||||||
| 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 Loggerclear in class NullLoggerpublic boolean isSupported()
isSupported in interface LoggerisSupported in class NullLoggerpublic void log(LogRecord record)
log in interface Loggerlog in class NullLoggerpublic void loggersLog(LogRecord record)
RemoteLoggerNullLogger.log(LogRecord) on all the loggers. In this implementation we just pass the call
to all our loggers immediately.
loggersLog in class RemoteLoggerrecord - the LogRecord to log.log(LogRecord)public void setCurrentLogLevel(int level)
setCurrentLogLevel in interface LoggersetCurrentLogLevel in class NullLogger
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||