Question
documentation of flash.trace.Trace
HI,
could we get a little more documentation on that class ?
right now I can use it by default
import flash.trace.Trace
Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.OFF );
or use my own traceListener function
import flash.trace.Trace
public function traceListener( line:String, index:int, method:Sring,
args:String ):void
{
trace( "@"+index + " - " + line );
trace( method+"("+args+")" );
}
Trace.setListener( traceListener );
Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.LISTENER );
but on the default traces like
2928822 AVMINF: MTHD global/trace () @ 0x0B1603C0
I would like to know if with a custom trace listener
if we can access 0x0B1603C0 ? (or is this fetched from the stack trace
somehow ?)
also the 2928822 is it a simple getTimer() or a another low level timer ?
my last question would be if we use Trace.FILE as the listener target
does it gonna write the traces in the log defined in mm.cfg or some other file ?
cheers,
zwetan
could we get a little more documentation on that class ?
right now I can use it by default
import flash.trace.Trace
Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.OFF );
or use my own traceListener function
import flash.trace.Trace
public function traceListener( line:String, index:int, method:Sring,
args:String ):void
{
trace( "@"+index + " - " + line );
trace( method+"("+args+")" );
}
Trace.setListener( traceListener );
Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.LISTENER );
but on the default traces like
2928822 AVMINF: MTHD global/trace () @ 0x0B1603C0
I would like to know if with a custom trace listener
if we can access 0x0B1603C0 ? (or is this fetched from the stack trace
somehow ?)
also the 2928822 is it a simple getTimer() or a another low level timer ?
my last question would be if we use Trace.FILE as the listener target
does it gonna write the traces in the log defined in mm.cfg or some other file ?
cheers,
zwetan
