weird stuff

ponl

15-05-2007 21:46:10

Hi

I just looked at some of the logging and I've been noticing some strange behavior. Whenever It seems as if text logging will never work. It can't swith to it, whathever I do the only file that remains is : NxOgre.log.html .

What am I doing wrong ?

Also I get a lot of NxThrows, for example in the driver params in the parse(), function. Is this normal or should I try to find why I run into Throws?
The code does work, it does its job but as any good programmer I don't like throws hehe :)

Cheers
Ponl

betajaen

15-05-2007 21:54:49

It was a bug. I fixed it in the latest SVN commit.

The NxThrow's aren't really throwing errors, just warnings. You'll know when it's an error. ;)

ponl

15-05-2007 21:56:27

I am running the latest (revision 19) or is this not the latest ?

Cheers

betajaen

15-05-2007 21:58:07

Yep. It's the latest.

[Edit]

Your right, it automatically defaults to the HTML log. I'm fixing it now, but why bother to resort to text, the HTML option is so pretty. ;)

ponl

15-05-2007 22:01:00

Ok great, the text logging is way cleaner in my opinion but maybe I am just old-fashioned.

Cheers

betajaen

15-05-2007 22:02:39

A little ;)

But remember you can plug in your own error handler/log system directly into the NxOgre error class, and handle it your own way.

ponl

16-05-2007 08:30:12

With the new revision the logging works but I still get 3 NxThrows at the same location as before (in the parse function).
Also these error messages only apear in the console window and not in the logfile. Is this intended ?

Cheers

betajaen

16-05-2007 09:00:51

Yep.