Thursday, October 20, 2005

Re: New kid in the block


static Logger *loggerObj ;

I think this is the problem.

It may be:
static Logger loggerObj;

NOT THE STAR.
So, it is constructed by itself.

BTW:
Do not forget to place this in your cpp file:
Logger Logger::loggerObj;

Good Lucky~!

0 Comments:

Post a Comment

<< Home