Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

MonsterDebuggerConnector loses rest arguments #6

Open
fljot opened this issue Aug 2, 2011 · 2 comments
Open

MonsterDebuggerConnector loses rest arguments #6

fljot opened this issue Aug 2, 2011 · 2 comments

Comments

@fljot
Copy link

fljot commented Aug 2, 2011

https://github.com/base42/LogMeister/blob/master/source/logmeister/logmeister/connectors/MonsterDebuggerConnector.as

How about to write a loop everywhere for MonsterDebuggerConnector? (not to lose all the arguments except for the first, eg: debug(obj1, obj2) would debug only obj1 right now)

var sender:String = getSender();
for each (var arg:* in args)
{
MonsterDebugger.trace(sender, arg, "", "", color_debug);
}

@jankeesvw
Copy link
Owner

Sounds good, could you write a pullrequest?

@fljot
Copy link
Author

fljot commented Aug 3, 2011

Pull request sent. I've fixed just code, haven't compiled swc in case you want to fix some versions.

Damn it's quite painful to make a pull request just for one single commit, could be easier to just post a gist =)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants