in reply to Re3: Sharing a log file across classes...
in thread Sharing a log file across classes...

In that case, I think the singleton is definately the best approach. That allows you to create a class which will return the same instance to everything that calls its constructor.
  • Comment on Re: Re3: Sharing a log file across classes...