Thursday, November 19, 2009

Incorporating Logging

I've been working on adding the Logging function. It was previously in the code, but basically slapped together to try it. This time around its much better. I basically have a global java.util.Logger object and then all other classes will reference that object.

It was easy enough to write out the LogRecord object to a file, but everyone knows it sucks reading a text file, so I've moved to an HTMLFormatter object, that's still a work in progress though. I'm stopping for today, I'll work on it more tomorrow.


No comments:

Post a Comment