http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/flex/XrayLogger_as3_alpha.zip?format=raw
screenshot:
http://www.rockonflash.com/xray/images/XrayLogger_Flex2_withInterface_0.png
some featurues:
1. log level support (debug, info, warn, error, fatal)
2. time stamp
3. Calling method is reported
4. objects are recursed
5. outputs to Xray's interface if you have it running
OutputPanel features (not necessary for running logger):
1. runtime log level control
2. Resizeable (drag lower right corner)
3. Window shade by double clicking header of OutputPanel's header area
4. Search
Usage:
copy com.blitzagency.xray.logger into your classes/src folder
if you want to use the OutputPanel (optional):
copy OutputPanel.mxml to your src folder or where ever your main app is.
Add this line to your app:
<ns1:OutputPanel id="outputPanel"/>
Add this property to your mx:Application node:
xmlns:ns1="*"
Using it in your app:
import com.blitzagency.xray.logger.XrayLog;
.............
public var log:XrayLog;
.............
log = new XrayLog();
log.debug(message:String [, dump:object]);
log.info(message:String [, dump:object]);
log.warn(message:String [, dump:object]);
log.error(message:String [, dump:object]);
log.fatal(message:String [, dump:object]);
I've included the FlashDevelop project in the zip. I would love suggestions/comments on implementation and features. Right now, it doesn't color code the output based on the log level, but that is something I'm looking into.
Anyway, if anyone wants to give it a whirl, I'd really appreciate the feedback,
Thanks
jpg
__._,_.___
--
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 |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___