Added a convenient static dumpStack() method.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4470 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-12-06 20:21:07 +00:00
parent dfb4de0608
commit b6b7e75823
+9
View File
@@ -58,6 +58,15 @@ public class Log
log.debug.apply(log, params);
}
/**
* A convenience function for quickly printing a stack trace
* to the log, useful for debugging.
*/
public static function dumpStack () :void
{
testing(new Error("dumpStack").getStackTrace());
}
/**
* @private
*/