FireLog + AIR Logger v1.0.0
Today somebody at the Flashcoders list asked about logging and tracing, so I decided to put my AIR Logger up for download. It’s a very simple tool and a very simple logger. I use it on a daily basis. It eliminates the use of tracing via the built-in Flash CS3 Debugger.
Install the front end with the big button below and download the class file here. Files that are written are saved to the desktop. (so its easier to drag and drop the files in the front end. You can however change this in the class file.)
Place this file either in you global class path or in a project specific class path. You import and set it up it using:
import AirLogger;
AirLogger.init("somefile.txt");
AirLogger.log("write some text here");
AirLogger.newLine();
AirLogger.log("write other text here");
Please comment any thoughts or ideas so i can make this logger better. Enjoy!
NOTE:The logger does not yet trace out objects, working hard on that.
Please consider to buying me a coffee.






I think this is a handy little class and quick to use. I found that the “\n” did not create newlines in my text log file.
You need to do:
AirLogger._fileStream.writeUTFBytes(s.toString() + File.lineEnding);
Also I would add static consts to your class and other methods like warn, debug etc that would output those constants before and message as is found in other debuggers out there.
Good start though thanks for sharing.
Thanks Neil!
Good to hear you are using it
Cheers, Sid