Files
WiFiManager/lib/WiFiManager/include/WiFiManagerLogSink.h
T
alex 86d9004c9b Portal SPA: single shell, JSON /api surface, remove legacy portal routes
Replace multi-page portal with hash-routed SPA, DFTE shell placeholders, and
data-first JSON APIs. Remove legacy routes, root-template override path, and
HTML-derived info pipeline. Add bootstrap feature flags, in-DOM toast/dialog UX,
OTA via POST /u, and tests for shell, bootstrap, API JSON, and captive host rule.
Rewrite README as fork disclaimer and modernization overview.
2026-04-22 12:09:08 +10:00

23 lines
479 B
C++

/**
* WiFiManagerLogSink.h
*
* @author alexhopeoconnor
* @license MIT
*
* Optional host-provided sink for WiFiManager log output. When set, logs are
* delivered here instead of the configured Print stream (usually Serial).
*/
#ifndef WiFiManagerLogSink_h
#define WiFiManagerLogSink_h
#include "WiFiManagerLogLevel.h"
class WiFiManagerLogSink {
public:
virtual void log(const WiFiManagerLogMessage& msg) = 0;
virtual ~WiFiManagerLogSink() = default;
};
#endif