SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
local_debug.cpp
Go to the documentation of this file.
1#include "local_debug.h"
2
3namespace sensesp {
4
5#ifndef DEBUG_DISABLED
6
8 lastDebugLevel_ = startingDebugLevel;
9 return true;
10}
11
13 return (debugLevel >= lastDebugLevel_);
14}
15
16// size_t LocalDebug::write(uint8_t character) {
17// Serial.write(character);
18// return 1;
19// }
20
21#endif // DEBUG_DISABLED
22
23} // namespace sensesp
Construct a new transform based on a single function.
boolean isActive(uint8_t debugLevel=DEBUG)
bool begin(String hostname, uint8_t startingDebugLevel=DEBUG)