splinklibrary 0.2.0 and QLog 1.1 releases
I just relased a new version of splinklibrary. There are a few bugfixes, some performance improvements and several new features:
- the logging framework is now prepared to address the new QLog features "tabbed logging" and "navigatable tree tabs"; If you use QLog you can send the current flash displaylist or the structure of any object to QLog which opens a new tab containing a navigatable tree of the displaylist or the object.
- the tween engine is now more than twice as fast, flexible and extendable
- there is a new "tree" package which makes working with tree structures quite convenient. For instance it is used internally to serialize the flash displaylist or any object into xml which can be sent via QLogOutput to QLog.
For more details see the splinklibrary svn changelog
To download the splinklibrary-0.2.0 release directly, click here or you can get it from the google code svn
QLog now supports a new kind of tab, the "tree tab" which is capable of displaying any xml structure sent by a client as a navigatable tree. Note that you need splinklibrary-0.2.0 in order to use the "tree" feature. You can grab the QLog 1.1. release here
QLog update
I just added another couple of features to QLog and also made some major refactorings under the hood.
Now Qlog enables you to change the font size, it provides keyboard shortcuts for everything, there is a new useful scroll-lock toggle button which helps if you want to read the logs while new log messages arrive. QLog also exports your logfiles now as valid xhtml 1.0 strict files and saves all settings like window position, size and various other settings on exit, to spare you from the pain to adjust the settings each time you start QLog. Furthermore it enhances working with log tabs by highlighting tabs which are currently not focused but contain unread messages.
Get the latest QLog version here
New QLog release
hi folks,
I recently became aware of a couple of features I really needed in QLog so I finally sat down to implement them.
Because I am currently working on an application which consits of several modules, each with it's own logger, the view of all the modules log messages in one window became quite cumbersome to read. So I wanted to see the logs of the modules each in a seperate tab to be able to better distinguish between them. Today I finally implemented this feature and QLog is now capable of creating different tabs for each logger connection. Thanks to the new tabs the information is far better structured and reading logs from different modules is now quite convenient.
Sometimes it's handy to save the logs to a file. That could be for instance to be able to compare the logs later, or simply to send them to someone else. This can now easily be done through QLog's new save file feature, which renders a html file for the currently opened log tab.
I also discovered and fixed a bug which occurred only with the flash player versions 9,0,124,0 or above, because these and future flash player versions need the server to send a socket policy file to the client in order to establish a connection. read more
Well, that's it. You can download the latest QLog release here.
Hopefully fsteeg will add the new features to his eclipse plugin version of QLog soon.
QLog + splinklibrary Logging
QLog is a java application which simply displays log messages. It enables to apply a filter to these messages so you can seek for a specific log or just display log messages which apply to the filter.
Because QLog is in fact a socket server it is also possible to display logs sent from an application which runs on a remote server. (This can be very handy). The greatest feature in my opionion is that messages sent to QLog can be equipped with a color for each kind of message (that is trace,info,debug,warn,error,fatal,...), so the messages look well arranged.

In the whole QLog is a lot like powerflashers superb SocketOutputServer SOS but in contrast to SOS it is platform independent, it also runs on Mac Os X or Linux. (I developed it because i wanted to migrate to Ubuntu and I simply couldnt live without something like SOS)
QLog also integrates very well with the logging framework from splinklibrary. The splinklibrary logging framework comes with various ILogOutput implementations, so you can configure to which output destinations your logs are sent.
splinklibrary supports TraceOutput, FirebugOutput, SosOutput and QLogOutput out of the box. So you dont need to worry about any low level socket implementation details if you use QLog with splinklibrary.
One very useful feature of the sprinklibrary logging system is that if you run your application within the flash debug player, it adds the class- and methodname where the log originated from and if compiled with the -debug=true flag also the line number.
/** The Logger is configured once in a project. Each class which wants to log simply needs to add something like: private static const _logger:ILogger = LoggerProvider.getLogger("default", TheClassName); */ private function configureLogger():void { var factory:ILoggerFactory = new LoggerFactory(); /** It's possible to set various logger factories, so each one needs its own id */ factory.setId("default"); /** Logs within the specified range are sent to the log outputs */ factory.setRange(new LogRange(LogLevel.TRACE, LogLevel.FATAL)); /** DefaultOutputFormatter is used to format the log messages You can easily write and use your own IOutputFormatter */ factory.setOuputFormatter(new DefaultOutputFormatter()); /** Use different output strategies, here QLog and trace splinklibrary offers QLog, SOS, trace and Firebug LogOutput implementations. If you need something else, just implement the ILogOutput interface */ factory.addLogOutput(new QLogOutput()); factory.addLogOutput(new TraceOutput()); LoggerProvider.addLoggerFactory(factory); /** Get a Logger and log something */ _logger = LoggerProvider.getLogger("default", SampleApplicationClass); _logger.log(LogLevel.INFO, "Info"); _logger.log(LogLevel.DEBUG, "Debug"); _logger.log(LogLevel.ERROR, "Error"); }
Of course it should be quite simple to use Qlog with other Logging frameworks, or just to write a simple class to use it. splinklibararys QLogOutput should give a good impression how to do it.
Currently there is a stable QLog standalone version
Thanks to Fabian there is also a Eclipse Plugin version (very alpha) Update site: http://quui.com/update-site/
Here is a simple log4j appender class which enables to use QLog with the apache log4j framework for java.