From 010415c4ae866bdaab043fb5ea7efbc1392e4320 Mon Sep 17 00:00:00 2001 From: Neeflix Date: Thu, 31 May 2018 20:26:37 +0200 Subject: [PATCH] added logging --- FlippR-Driver/src/input/EventHandler.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FlippR-Driver/src/input/EventHandler.hpp b/FlippR-Driver/src/input/EventHandler.hpp index 2792347..ad681d2 100644 --- a/FlippR-Driver/src/input/EventHandler.hpp +++ b/FlippR-Driver/src/input/EventHandler.hpp @@ -38,7 +38,10 @@ public: } // This function is intended to be non pure, if it is called when the derived class doesn't exist anymore - virtual void handle(Event& event); + virtual void handle(Event& event) + { + CLOG(WARNING, INPUT_LOGGER) << "Called EventHandler parent class"; + } private: std::shared_ptr input_driver;