|
From: iiley <iil...@gm...> - 2005-06-08 13:28:33
|
Thank for your tips, yes, "escape(myXml.toString());" works, but it
replace "<","/"... to some like "%xx", it is not very good look.
Then i wrote a little tool today(Only 4 little class), it is useful to
me, maybe it is useful for some others too, I named it
BLog(Bridge/Switcher Log), you know some time you want to log message
only use Sys.println or trace, This is easy if you use TRACE with
MTASC, but ... then you want to do a more particular log, for example,
you want to view logs with different color between log, debug,
warning, error, you will changed all TRACE to the specified Flashout
methods, is that troublesome(you have to replace all TRACE sentences)?
you know TRACE only can replaced by one method. So i did things this
way:
TRACE("Some trace.");
TRACE("Some debug.", "DEBUG");
TRACE("Some error..", "ERROR");
Then use DBlog.handleLog to replace TRACE(through mtasc compile param
-trace), TRACE("Some debug.", "DEBUG"); will trace as a debug,
TRACE("Some trace."); will trace as normal, etc...
You can see the particular usage and download this little tool here:
http://www.aswing.org/tools/b_log.html
Hope this can help some.
2005/6/8, Luke Bayes <lb...@gm...>:
> aaaah...
>=20
> Nice catch!
>=20
> We'll need to take a look at that for the next release....
>=20
> We actually do some work with escape/unescape... But you might be able
> to make it work by doing something hacky like:
>=20
> escape(myXml.toString());
>=20
> That may not work because we might already be doing that - and then
> automatically unescaping it on the other side of the local connection.
>=20
> This is a pretty big issue for sure - I'm going to escalate this as a
> very high priority for the next release.
>=20
> Thanks for the feedback - and especially the clarification!
>=20
>=20
> Luke Bayes
> www.asunit.com
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho=
tput
> a projector? How fast can you ride your desk chair down the office luge t=
rack?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
> _______________________________________________
> Asunit-users mailing list
> Asu...@li...
> https://lists.sourceforge.net/lists/listinfo/asunit-users
>
|