com.google.gwt.logging.server
Class StackTraceDeobfuscator
java.lang.Object
com.google.gwt.logging.server.StackTraceDeobfuscator
public class StackTraceDeobfuscator
- extends java.lang.Object
Deobfuscates stack traces on the server side. This class requires that you
have turned on emulated stack traces and moved your symbolMap files to a
place accessible by your server. More concretely, you must compile with the
-extra command line option, copy the symbolMaps directory to somewhere your
server side code has access to it, and then set the symbolMapsDirectory in
this class through the constructor, or the setter method.
For example, this variable could be set to "WEB-INF/classes/symbolMaps/"
if you copied the symbolMaps directory to there.
TODO(unnurg): Combine this code with similar code in JUnitHostImpl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceDeobfuscator
public StackTraceDeobfuscator(java.lang.String symbolMapsDirectory)
deobfuscateLogRecord
public java.util.logging.LogRecord deobfuscateLogRecord(java.util.logging.LogRecord lr,
java.lang.String strongName)
setSymbolMapsDirectory
public void setSymbolMapsDirectory(java.lang.String dir)