Hi James,
_loggerName is used to change the output logger. I this case you can't use AS
Logger view if you enter _loggerName:String = FlashoutLogger.LOGGER_NAME.
Else if you compile with MTASC, you need to add :
-cp "path to your asdt.logger lib (normaly in folder "lib" in asdt.logger_0_0_8_xx
in plugin eclipse folder)"
-trace Log.addMessage
If you use MM compiler replace manualy your 'trace' by 'Log.addMessage' after adding
"asdt.logger lib" to as2 classpath in publish settings
Then if you want to output to Flashout, you don't care about this and use
normal Flashout way, it would be easier for you. But if you want to use AS
Logger view and access to double click on trace messages use the way describ
before and keep _loggerName:String = SocketLogger.LOGGER_NAME.
Regards,
Bo
If you want to use AS Logger View (and not Flashout), you only need to keep
James Tarling a écrit :
Hello all,
Is anyone able to provide an idiot-proof list of steps to get the AS
Logger that comes with ASDT working?
I've got
Flashout 0.2.1.6
Eclipse 3.1.0
MTASC 1.10
I've
- linked the Logger classes to my project (right-click project in navigator)
- edited Log.as to include
private var _loggerName:String = FlashoutLogger.LOGGER_NAME;
- imported Log.as into my main Application class and added an instance of Log.
- changed Flashout.traceReplacer to Log.addMessage in the Flashout
MTASC settings
- pressed the big green button on the AS Logger panel
and I'm getting nothing. Nor, if I undo all these steps, do I get any
messages in the Flashout Logger window.
If anyone could provide any insight, you might save my sanity. Thanks,
James
_______________________________________________
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