From a56e12089ceac829915bed82b0a152ccad7fe5ec Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 8 Aug 2006 23:22:26 +0000 Subject: [PATCH] One has to be careful when overriding, or otherwise transferring args from one varargs method to another, so that the varargs array from the outer method is not packaged up as one arg to the inner method. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4307 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/Log.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/as/Log.as b/src/as/Log.as index 15f17ff76..43b71a1a6 100644 --- a/src/as/Log.as +++ b/src/as/Log.as @@ -44,9 +44,9 @@ public class Log * A convenience function for quickly and easily inserting printy * statements during application development. */ - public static function testing (msg :String, ... params) :void + public static function testing (... params) :void { - mx.logging.Log.getLogger("testing").debug(msg, params); + mx.logging.Log.getLogger("testing").debug.apply(params); } /**