mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
added logger so external functions can use
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user