Hi everyone,

I have a problem which looks simple but i've been struggling to get it right for quite sometime.

Basically i'm trying to create a debugger/ tracer to log and display messages at run-time within the application. So far i've used trace(), it works great but it outputs the message to an external file and also a newer trace message would replace the old ones.

The whole idea is to create a logger which at the end could be a as simple as a component with just a HTML text field and all trace messages are sent and displayed there.

As this link says about Flex's logging API: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">

"Destination: The destination is where the log message is written. Typically, this is a file, but it can also be a console or something else, such as an in-memory object. The default destination for TraceTarget is the flashlog.txt file"

In my case i want the destination to be the HTML text field or -in-memory object which i could use later to create an xml.

After going through livedocs thoroughly and trying few randoms thing here and there i've not still been able to figure out how to creat a custom target.

traceTarget send the messages to flashlog.txt and MiniDebugTarget could also be used, but how do i get the message sent to a custom location??


Thanks in advance,

P

__._,_.___

--
Flexcoders Mailing List
FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to