mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
compiling with EMSESP_DEBUG only sends to DEBUG log
This commit is contained in:
@@ -60,7 +60,7 @@ bool Shell::running() const {
|
||||
}
|
||||
|
||||
void Shell::start() {
|
||||
#ifdef EMSESP_DEBUG
|
||||
#if defined(EMSESP_DEBUG)
|
||||
uuid::log::Logger::register_handler(this, uuid::log::Level::DEBUG); // added for EMS-ESP
|
||||
#else
|
||||
uuid::log::Logger::register_handler(this, uuid::log::Level::INFO);
|
||||
|
||||
Reference in New Issue
Block a user