77 void debugPrint(
const char *message,
bool important =
false);
84 void debugPrint(uint32_t value,
bool important =
false);
92 void debugPrint(uint32_t value,
int printBase,
bool important =
false);
99 void debugPrintln(
const char *message,
bool important =
false);
106 void debugPrintln(uint32_t value,
bool important =
false);
114 void debugPrintln(uint32_t value,
int printBase,
bool important =
false);
Definition: sfe_debug.h:43
void enableDebugging(sfe_print_t &debugPort, bool printLimitedDebug=false)
Enable debug messages, sent to the given port.
Definition: sfe_debug.h:52
bool _printDebug
Definition: sfe_debug.h:134
bool _printLimitedDebug
Definition: sfe_debug.h:135
void debugPrint(const char *message, bool important=false)
Print a debug message (no trailing newline), if debugging is enabled.
Definition: sfe_debug.cpp:27
void debugPrintln(void)
Print a blank debug line, if debugging is enabled and not in limited-debug mode.
Definition: sfe_debug.cpp:75
void copyDebugStateFrom(const SfeDebugPrint &other)
Copy debug state (output stream and enabled flags) from another SfeDebugPrint.
Definition: sfe_debug.h:125
SfePrint _debugSerial
Definition: sfe_debug.h:133
void disableDebugging(void)
Turn off debug message printing.
Definition: sfe_debug.h:62