mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
a6
This commit is contained in:
@@ -58,7 +58,8 @@ Shell::~Shell() {
|
||||
|
||||
void Shell::start() {
|
||||
#ifdef EMSESP_DEBUG
|
||||
uuid::log::Logger::register_handler(this, uuid::log::Level::DEBUG); // added by proddy
|
||||
// uuid::log::Logger::register_handler(this, uuid::log::Level::DEBUG); // added by proddy
|
||||
uuid::log::Logger::register_handler(this, uuid::log::Level::INFO); // added by proddy
|
||||
#else
|
||||
uuid::log::Logger::register_handler(this, uuid::log::Level::NOTICE);
|
||||
#endif
|
||||
|
||||
@@ -76,7 +76,6 @@ void Shell::output_logs() {
|
||||
auto message = std::move(log_messages_.front());
|
||||
log_messages_.pop_front();
|
||||
|
||||
|
||||
print(uuid::log::format_timestamp_ms(message.content_->uptime_ms, 3));
|
||||
printf(F(" %c %lu: [%S] "), uuid::log::format_level_char(message.content_->level), message.id_, message.content_->name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user