====== XFLAS2 ====== XFLAS2 stands for eXtensible Flash Logging for ActionScript 2. XFLAS2 is a logging framework, with automatic reflection on classname and methodnames of the methods using the logging, (ie Logger.log(”here”) will show ClassA.methodA→here) and filtering upon this information. It wraps around any standard logger (xray, luminicbox) which benefits immediately from this functionality. For example a new consumer would only be one line of code and then it would show this info as well. Combined with package, method filtering this makes a powerful combination. It also provides functionality to prevent your log from flooding. Loggers can be switched at runtime. The complete package comes with additional functionality such as better error handling, runtime reference checking, which integrates nicely with the logger. It is completely object oriented, and is built on design patterns such as producer/consumer, singleton, etc. Filters can be added easily, and set on the producer side, on the consumer side, or both. Using this logger in the Flash IDE or with MTASC produces exactly the same result. It does not currently use the MTASC trace functionality, it uses internal reflection, so only the linenumber printed by the MTASC trace is missing. Class and method info is available though. At this moment the overlap with Zeroi or Tornado is not known yet. ===== Specification ===== * **Category:** ActionScript Library * **Audience:** Developers. * **Platform:** Cross-platform. * **Maturity:** Alpha. * **License:** To be determined soon, but for now: do with it whatever you wish, whenever you want. Official license type coming soon! ===== Download ===== You can download the latest release version here: [[http://www.objectpainters.com/xflas2/|XFLAS_v0.1]] ===== Installation instructions ===== Simply unzip the file and add the objectpainters package to your class path. ===== Usage instructions ===== Simply unzip the file and work through the loggerExamples.fla. Note that [[xray|xray]] comes in handy while testing. The documentation can be found on the 'notes for reader' layer. Better documentation soon! ===== Mailing list ===== You can contact me at j.c.wichman@objectpainters.com or ask your question on the flashcoders list. A separate mailinglist will be created when this project is accepted onto osflash. ===== Subversion repository ===== No repository yet. ===== Credits ===== J.C. Wichman, www.objectpainters.com ===== License ===== Check specification section for now.