My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Introduction  
Introduction to AILogger
Updated Sep 18, 2009 by oyvind.n...@gmail.com

Introduction

AILogger is a log console for Flash applications. It started life as a TextField on stage to write messages to in lieu of the trace statement unavailable once an application is deployed. It is still just a text field on your stage, it's just become a little more sophisticated. That means it draws next to no resources from your application while It makes monitoring and bug hunting just a little bit easier.

As a simple text field, the shortcomings quickly become evident when used in a larger scale, object-oriented applications that implement design patterns. For this reason AILoggerEvent was created to enable an event driven logflow. The log() method of AILogger can be called directly, but it can also be used as a listener for AILoggerEvent. AILoggerEvent also hosts the constants that define the coloring of the log lines, allowing you to easily distinguish the trivial from the bad and the ugly.


Sign in to add a comment
Powered by Google Project Hosting