Hi All -

Is there any way where we can enable logging in Flex /Actionscript 3.
I tried using the below

public function CHRController() {
this.initializeLoggerTarget();
myLogger = LogUtils.getLogger(this);
}


private function initializeLoggerTarget():void
{

                //var traceTarget:ILoggingTarget = new ILoggi
                var traceTarget:TraceTarget = new TraceTarget();
                traceTarget.level = 0;
                traceTarget.includeDate = true
                traceTarget.includeTime = true;
                traceTarget.includeCategory = true;
                traceTarget.includeLevel = true;
                traceTarget.filters =
["com.anfcorp.*","mx.rpc.*","mx.messaging.*"];
                Log.addTarget(traceTarget);
}


This requires the Flex application to run under debug mode. I was able
to get the above working. But I was looking for a way where I can log
the to a file and have a daily logger enabled as in Log4j. Is this
feasible???


Thanks!
Veena n


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to