diff options
Diffstat (limited to '')
-rw-r--r-- | src/gpg/GpgFunctionObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpg/GpgFunctionObject.h b/src/gpg/GpgFunctionObject.h index 0f772c92..654f81d3 100644 --- a/src/gpg/GpgFunctionObject.h +++ b/src/gpg/GpgFunctionObject.h @@ -28,10 +28,14 @@ #include <memory> #include <mutex> +#include <easyloggingpp/easylogging++.h> + namespace GpgFrontend { template <typename T> class SingletonFunctionObject { public: static T &GetInstance() { + LOG(INFO) << "SingletonFunctionObject GetInstance Calling " + << typeid(T).name(); std::lock_guard<std::mutex> guard(_instance_mutex); if (_instance == nullptr) _instance = std::make_unique<T>(); |