com.google.gwt.logging.server
Class RemoteLoggingServiceUtil
java.lang.Object
com.google.gwt.logging.server.RemoteLoggingServiceUtil
public class RemoteLoggingServiceUtil
- extends java.lang.Object
Utilities for classes that accept Remote Logging requests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteLoggingServiceUtil
public RemoteLoggingServiceUtil()
logOnServer
public static void logOnServer(java.util.logging.LogRecord lr,
java.lang.String strongName,
StackTraceDeobfuscator deobfuscator,
java.lang.String loggerNameOverride)
throws RemoteLoggingServiceUtil.RemoteLoggingException
- Logs a message on the server.
- Parameters:
lr
- LogRecord to be loggedstrongName
- Permutation name (used for deobfuscation and may be null,
which will only cause deobfuscation to fail)deobfuscator
- used for deobfuscation. May be null, which will only
cause deobfuscation to fail.loggerNameOverride
- logger name for messages logged on server. May be
null, in which case, messages will be logged to a logger
corresponding to the client-side logger which triggered them.
- Throws:
RemoteLoggingServiceUtil.RemoteLoggingException
deobfuscateLogRecord
public static java.util.logging.LogRecord deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator,
java.util.logging.LogRecord lr,
java.lang.String strongName)
logOnServer
public static void logOnServer(java.lang.String serializedLogRecordJson,
java.lang.String strongName,
StackTraceDeobfuscator deobfuscator,
java.lang.String loggerNameOverride)
throws RemoteLoggingServiceUtil.RemoteLoggingException
- Throws:
RemoteLoggingServiceUtil.RemoteLoggingException