mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-17 16:41:31 +10:00
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.
23 lines
479 B
C++
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
|