A few years ago I developed a logging class plus viewer application for debugging purposes. Main requirement was lightweightedness: the logging code should put as little pressure on the CPU as possible, and so should the viewer. At LBi Lost Boys, the company I’m working for, we’ve been using this utility over the last years, and it’s become an indispensible component of our work flow.
Last week I put out the source, both of the log utility and of the viewer, into open source space. Check the main page on Google Code for source code and downloads.
Yalog consists of the logging utility, comprising one main class (Yalog.as) and a few helper classes, and a viewer. This viewer is basically a swf, so can be used in any context where a swf can be used. Currently it’s available for download as an AIR-application. If you just want to use this and not be bothered with the source of the viewer, download the Yalog source classes, and install the AIR application.
The viewer can be seen in action at http://yala.acidcats.nl/. If you open a Yalog-enabled site (such as www.de.nl), you will see debug messages appear in the viewer. A nifty feature of Yalog is that it buffers the last 200 messages (number can be changed) until the viewer appears, so you can open the viewer after something has gone wrong, and still view the latest messages.
When I have more time, I’ll put up a page here with more info and details.