List Info

Thread: Re: Flash Inspector for haXe




Re: Flash Inspector for haXe
user name
2007-03-28 10:35:48
wow.. cool! thanks filt3r!..

Guntur N. Sarwohadi

On 3/28/07, filt3rfree.fr">filt3rfree.fr < filt3rfree.fr"> filt3rfree.fr&gt; wrote:
Selon Asger Ottar Alstrup < asgerarea9.dk"> asgerarea9.dk&gt;:

> A minimal example of use would be great, including a .hxml file.
>
> Can this be used as a replacement for trace()? I.e. is there some magic
>
  haxe.Log.trace = <something>;
&gt;
> line that will cause all traces to go to this logger?
&gt;
> Regards,
&gt; Asger
>
> On 3/25/07, filt3rfree.fr">filt3rfree.fr < filt3rfree.fr"> filt3rfree.fr&gt; wrote:
>; >
> > Hi all!
> > For users of Flash Inspector, a good SWF tracer from LuminicBox, there's
> > haxe
> > classe rewritten to work with it.
> > Nothing special, but I find it usefull so if you want, you can get it
> > here:
> > http://filt3r.free.fr/downloads/LuminicTracerHx.zip
> > If you find bugs, please notify me.
> > Thanks,
&gt; > Michel
>; >
> > --
> > haXe - an open source web programming language
&gt; > http://haxe.org
&gt; >
>

Hi again !

I've added the trace function redirection, so you can redirect haxe trace to the
luminicTracer.log function.

You can download the new version at :
http://filt3r.free.fr/downloads/LuminicTracerHx.zip

To use it :

import log.LuminicTracer; // import :p

var logger = new LuminicTracer(); // initialisation

logger.log( something );
logger.debug( something );
logger.info( something );
logger.warn( something );
logger.error( something );
logger.fatal( something );

or use haxe TRACE redirection :

import log.LuminicTracer; // import :p

var logger = new LuminicTracer(); // initialisation
logger.setTraceRedirection();
trace( something );

For frenchies, please take a look at http://filt3r.free.fr

If something wrong, tell me ;)

Michel

--
haXe - an open source web programming language
http://haxe.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )