WOW, that's great! I'll definitely try it out. /Henrik Ralf Bokelberg wrote: > Yesterday i played around with John's Xray tool, which is really cool. > Snapshot is a real killer functionality. > > I integrated it into my zero impact logging system. It is called zero > impact, > because your application code doesn't need to know anything about logging. > It simply uses trace to output logging statements. The routing of the > messages > and all the configuration is done automatically by adding the > appropriate classes > to the mtasc commandline. > > Here is a little excerpt from my ant build script: > <arg value="-trace"/><arg value="zeroi.logging.LoggerClass.log"/> > <arg value="zeroi/logging/LoggerClass"/> > <arg value="zeroi/logging/TextFieldLoggerListenerClass"/> > <arg value="zeroi/logging/XRayLoggerListenerClass"/> > <arg value="zeroi/logging/SOSLoggerListenerClass"/> > > It enables the zeroi logger and adds three different listeners to the > logger, > one outputs to a textfield, one outputs to SOS and the last one outputs > to Xray > > If you don't need the SOS listener, simply remove it from the commandline. > If you don't need logging at all, remove all of the above lines and add > a -trace > none arg instead. > > I think, this is a really useful functionality. Therefore i decided to > publish the code > under the LGPL. If you want to try it yourself, you can find it at > > www.bokelberg.de/download/zeroi-0.1.zip > <http://www.bokelberg.de/download/zeroi-0.1.zip> > > Let me know, if you have any additions/changes/comments to make. > Cheers, > Ralf. > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
