
On Mon, Mar 11, 2013 at 5:10 PM, Stefan Strasser
okay, if the loggers don't use get() but hold a shared_ptr (and aren't destructed yet themselves) the problem doesn't exist anyway. then the non-static functions have to be public for the loggers to use.
I wasn't trying to get into a discussion about how logging during termination is best implemented, all I'm saying is that such a corner case like logging during termination should not force a regular user to use a rather strange interface.
none of the internals, however they may be, have to change for that.
I don't think that providing two equivalent public interfaces to the same component is a good idea. There's noting wrong in acquiring a pointer to the core instance, this is a common practice with singletons.