Logger


#1

Is FileLogger suitable for use in a plugin?  I can't quite get my head around the problem.  It uses a static variable to hold the current logger. As there might be multiple instances of a plugin loaded, is there a safe way to initialise and eventually remove it at all?

I've just removed all the singleton stuff from my project :)

Thoughts?


#2

It's thread-safe so should be fine, I reckon. Don't go calling it on the audio thread though!