             // Dispatch it. A return value of true means that the event was
             // never cancelled, so we complain.
             if (disp == null || disp.dispatchEvent(event)) {
-                Log.getLog(CommandEvent).warning("Unhandled controller command " +
-                    "[cmd=" + cmd + ", arg=" + arg + ", disp=" + disp + "].");
+                Log.getLog(CommandEvent).warning("Unhandled controller command",
+                    "cmd", cmd, "arg", arg, "disp", disp);
             }
 
         } else {

            } else {
                args = [ arg ];
            }
            try {
                fn.apply(null, args);
            } catch (err :Error) {
                if (arg == null) {
                    try {
                        // try with no args
                        fn();
                        err = null; // on success, clear the error
                    } catch (err2 :Error) {
                        err = err2;
                    }
                }
                if (err != null) {
                    var log :Log = Log.getLog(CommandEvent);
                    log.warning("Unable to call command callback, stack trace follows.");
                    log.logStackTrace(err);
                }
            }

        } else if (cmdOrFn is String) {

     * Use this method to dispatch CommandEvents.
     */
    public static function dispatch (
        disp :IEventDispatcher, cmdOrFn :Object, arg :Object = null) :void
    {
        if (cmdOrFn is Function) {
            var fn :Function = (cmdOrFn as Function);
