From 85d97f5e25fc128035057d0c3d69ce42d015aef1 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 8 Aug 2006 23:25:16 +0000 Subject: [PATCH] I forgot to pass in the "this" required by Function.apply() (or rather, I was passing in the args as the 'this'). I made the last checkin after compiling to make sure everything was right, but I forget that compiling doesn't check much in actionscript. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4308 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/Log.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/as/Log.as b/src/as/Log.as index 43b71a1a6..badefa5a9 100644 --- a/src/as/Log.as +++ b/src/as/Log.as @@ -46,7 +46,8 @@ public class Log */ public static function testing (... params) :void { - mx.logging.Log.getLogger("testing").debug.apply(params); + var log :ILogger = mx.logging.Log.getLogger("testing"); + log.debug.apply(log, params); } /**