Ah, ok, then I mixed it up, sorry.

On 15.09.2009, at 15:39, reflexactions wrote:

Oh Really ??

I thought that was just for adding an ILoggingTarget not an ILogger.

I am very sceptical of how that could work but I will give it a try.

--- In flexcoders@yahoogroups.com, Sönke Rohde <soenke.ro...@...> wrote:
>
> You can add your own logger with Log.addTarget(yourLoggerInstance) or
> simply define it in MXML like here: 
http://soenkerohde.com/2008/08/sos-logging-target/
>
>
> On 15.09.2009, at 10:44, reflexactions wrote:
>
> > Am I missing something or as much as I can write a class that
> > implements ILogger there is no way to actually use it?
> >
> > I can't see anyway to specify the ILogger to be used and Log just
> > uses LogLogger by default, as per usual all the variables are
> > private in Log so can't be accessed, the class is static so cant be > > overriden, so the only option seems to be to clone the Log class and
> > then just not use Log anywhere in our apps??
> >
> > Also once logging a category there is no way to stop short of
> > calling flush and dumping everything?
> >
> >
> >
>




Reply via email to