Allow a message to be passed to happy testing dumpStack()

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5566 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-11-20 19:48:47 +00:00
parent 7b9c0501a6
commit e649880f90
+2 -2
View File
@@ -87,9 +87,9 @@ public class Log
* A convenience function for quickly printing a stack trace * A convenience function for quickly printing a stack trace
* to the log, useful for debugging. * to the log, useful for debugging.
*/ */
public static function dumpStack () :void public static function dumpStack (msg :String = "dumpStack") :void
{ {
testing(new Error("dumpStack").getStackTrace()); testing(new Error(msg).getStackTrace());
} }
/** /**