
Here's a little something extra I whipped up as a companion for ELF, the logging framework I discussed in my last post. One of the LogRenderers, the LocalConnectionRenderer is particularly useful when dealing with class libraries that are used in both CS3 and Flex. This renderer is included as a default renderer in ELF. I put together a little AIR app that will receive messages from ELF and render them to a TextField. It also gives you the ability to reconnect to the LocalConnection should it be lost, and clear the field.
One neat thing about this app is that it keeps track of which logger instances send in calls and provides a means to filter the log messages by logger instance. I usually name my loggers by the name of the class that contains it. That way, I can specifically narrow down the log messages I'm looking at to the a particular class or component that I am interested in.
ELF Viewer requires AIR beta 3, which is available on Adobe Labs.
0 comments:
Post a Comment