From: Simon W. <Sim...@gm...> - 2005-06-28 16:15:59
|
Flashout 0.2 support is already on my todo list. I just did not find the time yet to implement, but I'll do that right away. I used the async method for the old version because the old version's Flashout log methods also call trace and I did not want this behavior. There is also one flaw with your suggested implementation because if you use e.g. Flashout.debug you also have to specify TRACE in mtasc to make it working. I'll nevertheless stick to that implementation because it is 'compatible' with both Flashout versions. Thanks for your help. ;) We plan to release the final as2lib version with all bugfixes etc. made recently on Monday, the new FlashoutHandler etc. will also be included. Greetings, Simon -- Simon Wacker www.simonwacker.com www.as2lib.org www.hq-heilbronn.de www.flik-flak.de ----- Original Message ----- From: "Paul Ingalls" <in...@mu...> To: <as2...@li...> Cc: <in...@mu...> Sent: Tuesday, June 28, 2005 2:28 AM Subject: [As2lib-updates] Flashout 2 > So I installed flashout 0.2.1.2 and my logger stopped working. I needed > to > make some tweaks to FlashoutHandler to get it going again. Check out the > following code - > > public function write(message:LogMessage):Void { > var m:String = convertMessage(message); > switch (message.getLevel()) { > case AbstractLogLevel.DEBUG: > Flashout.debug(m); > break; > case AbstractLogLevel.INFO: > Flashout.info(m); > break; > case AbstractLogLevel.WARNING: > Flashout.warning(m); > break; > case AbstractLogLevel.ERROR: > Flashout.error(m); > break; > case AbstractLogLevel.FATAL: > Flashout.fatal(m); > break; > default: > Flashout.log(m); > break; > } > } > > This should work in both old and new Flashout, instead of the asyncLog > stuff > that was there before which only worked in old Flashout. > > Is there any way we can get a fix into the cvs tree? > > Thanks, > > Paul > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > As2lib-updates mailing list > As2...@li... > https://lists.sourceforge.net/lists/listinfo/as2lib-updates > > |