You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
If you call InitGoogleLogging twice, then you get a fatal error and the program ends.
However, there is no way to query glog as to whether glog has already been initialized or not. This query is in the glog code (obviously) but it's not exposed in the API. Please make this public.
Here is the use case where this is useful, for me at least.
I'm adding an unmanaged C++ package that uses glog to a managed C# DLL that is in turn dynamically loaded to a C# managed code application but I need to change the glog default behavior. I can't call InitGoogleLogging in the application so instead I have to do the initialization in a nested singleton class in the DLL.