Wit er ètwien tversjgil tussn flash en è seule stroent? De seule!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christophe Herreman Sent: woensdag 14 december 2005 14:10 To: Open Source Flash Mailing List Subject: Re: [osflash] LuminicBox + as2lib logging works with Flash, not with Mtasc ?????????? You need the main.Mtasc config file. *prutser* regards, Christophe [EMAIL PROTECTED] wrote: > DebugIt works fine, but in LuminicBox nothing appears. When compiling > with Flash, it does appear... very strange > > This is how I set up the logger, it is done in main.Flash > > /** > > * > > */ > > private static function setupLogging():Void{ > > var loggerHierarchy:LoggerHierarchy = new LoggerHierarchy(); > > //loggerHierarchy.addLogger(createLogger("org.osflash.arpx")); > > //loggerHierarchy.addLogger(createAspectLogger()); > > //loggerHierarchy.addLogger(createLogger("be.idiomatic.framework")); > > loggerHierarchy.addLogger(createLogger("be.idiomatic.module")); > > //loggerHierarchy.addLogger(createLogger("be.idiomatic.player")); > > LogManager.setLoggerRepository(loggerHierarchy); > > } > > /** > > * > > */ > > private static function > createLogger(package:String):SimpleHierarchicalLogger{ > > var hierarchicalLogger:SimpleHierarchicalLogger = new > SimpleHierarchicalLogger(package); > > //hierarchicalLogger.addHandler(new XmlSocketHandler("localhost", 4444)); > > hierarchicalLogger.addHandler(new TraceHandler()); > > hierarchicalLogger.addHandler(new LuminicBoxHandler(10)); > > hierarchicalLogger.addHandler(new DebugItHandler()); > > return hierarchicalLogger; > > } > > /** > > * > > */ > > /*private static function > createAspectLogger(Void):SimpleHierarchicalLogger { > > var result:SimpleHierarchicalLogger = new > SimpleHierarchicalLogger("be.idiomatic.framework.aspect.LogMethodExecutionsAspect"); > > result.addHandler(new TraceHandler(new SimpleLogMessageStringifier())); > > return result; > > }*/ > > //================================================================== > > // PUBLIC METHODS > > //================================================================== > > public static function init(target:MovieClip):Void{ > > setupLogging(); > > } > > **Vriendelijke groeten,** > > **Lieven Cardoen** > > PointX Multimedia > > Engelse Wandeling 2 K18 > > 8500 Kortrijk > > Tel. 056 35 23 89 > > Fax 056 35 26 48 > > www.pointx.be <http://www.pointx.be> > > PointX is gesloten tussen Kerst en Nieuw. > > Wij zijn terug op dinsdag 3 januari. > > ------------------------------------------------------------------------ > > *From:* Lieven Cardoen [mailto:[EMAIL PROTECTED] *On Behalf > Of *Lieven Cardoen > *Sent:* zaterdag 10 december 2005 16:51 > *To:* [email protected]; [email protected] > *Subject:* LuminicBox + as2lib logging works with Flash, not with > Mtasc ?????????? > > If I compile with Flash, all my loggings arrive at LuminicBox. If I > compile with Mtasc (in Eclipse), no logging arrives at LuminicBox... > > Can anybody explain me why and can I see those loggings in LuminicBox > when compiling with Mtasc. > > Lieven Cardoen, thx > >------------------------------------------------------------------------ > >_______________________________________________ >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 _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
