From 22b4b66cff6086c7fb9eee9131fe13f3326e1ea2 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 28 Mar 2021 16:27:40 +0200 Subject: [PATCH] added logger so external functions can use --- src/emsesp_stub.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/emsesp_stub.hpp b/src/emsesp_stub.hpp index be481349c..ea9207bb2 100644 --- a/src/emsesp_stub.hpp +++ b/src/emsesp_stub.hpp @@ -18,19 +18,21 @@ #ifndef EMSESP_EMSESP_STUB_H #define EMSESP_EMSESP_STUB_H -// forward declarator -// used to bind EMS-ESP functions to external frameworks #include "system.h" #include "mqtt.h" #include "dallassensor.h" #include "version.h" +// forward declarators +// used to bind EMS-ESP functions to external frameworks namespace emsesp { class EMSESP { public: static Mqtt mqtt_; static System system_; static DallasSensor dallassensor_; + + static uuid::log::Logger logger(); }; } // namespace emsesp