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:
@@ -87,9 +87,9 @@ public class Log
|
||||
* A convenience function for quickly printing a stack trace
|
||||
* 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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user