Flex 2 Logger Class
I have created a Logger class that that can easily be used through an application. It provides a one place logging mechanism without having to import and classes or change for different output methods.
It uses the Flex 2 mx.logging.Log class to support different Targets. By default the Logger class enables 3 targets, Flex’s default trace, XPanel and FlexTracePanel.
The next cool feature of the Logger class is that it comes with a LogController that if included into the application gives you the ability to enable/disable targets in runtime. You include the LogController and then press CTRL-SHIFT-L in the application to see the popup configuration menu. You can try it here.
The home page for this class/component is located here.
You’ll find documentation and all the source available on that page above.
Here is the links to the different 3rd party logging applications supported by the Logger class.
Flex Trace Panel - Copyright 2005 Herrlich & Ramuschkat GmbH (www.richinternet.de)
XPanel - Copyright 2006, FarataSystems Inc., Copyright 2006, Computer Technology Inc. (http://www.faratasystems.com/xpanel/xpanel.htm also on Adobe’s Flex Exchange)
1 comment August 3rd, 2006


