added logger so external functions can use

This commit is contained in:
proddy
2021-03-28 16:27:40 +02:00
parent 942d062506
commit 22b4b66cff

View File

@@ -18,19 +18,21 @@
#ifndef EMSESP_EMSESP_STUB_H #ifndef EMSESP_EMSESP_STUB_H
#define EMSESP_EMSESP_STUB_H #define EMSESP_EMSESP_STUB_H
// forward declarator
// used to bind EMS-ESP functions to external frameworks
#include "system.h" #include "system.h"
#include "mqtt.h" #include "mqtt.h"
#include "dallassensor.h" #include "dallassensor.h"
#include "version.h" #include "version.h"
// forward declarators
// used to bind EMS-ESP functions to external frameworks
namespace emsesp { namespace emsesp {
class EMSESP { class EMSESP {
public: public:
static Mqtt mqtt_; static Mqtt mqtt_;
static System system_; static System system_;
static DallasSensor dallassensor_; static DallasSensor dallassensor_;
static uuid::log::Logger logger();
}; };
} // namespace emsesp } // namespace emsesp