From: Paul I. <in...@mu...> - 2005-06-28 00:28:14
|
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 |