bolar_2 backup

This commit is contained in:
2026-11-27 16:38:11 +08:00
commit e96d6d19df
305 changed files with 43350 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include <cstdarg>
namespace borla {
// Installs a process-wide ESP_LOG output formatter. Runtime log lines become:
// [AA:BB:CC:DD:EE:FF][2026-07-21 14:23:09.962] I Tag: message
// Before the server synchronizes the clock, the time field explicitly reports
// TIME-UNSYNCED plus monotonic milliseconds instead of a misleading 1970 date.
class DeviceLogFormatter final {
public:
static bool Initialize();
static void MarkClockSynchronized();
private:
static int Print(const char* format, va_list arguments);
};
} // namespace borla