90 size_t write(uint8_t)
override;
94 bool useDebugPrefix =
true;
95 bool newDebugLine =
true;
Delegate< void(char dbgChar)> DebugPrintCharDelegate
Delegate constructor usage: (&YourClass::method, this)
Definition: Debug.h:21
Provides debug output to stream (e.g. Serial) or delegate function handler.
Definition: Debug.h:49
void initCommand()
Enable control of debug output from CLI command handler output.
The String class.
Definition: WString.h:136
Provides formatted output to stream.
Definition: Print.h:36
void setDebug(DebugPrintCharDelegate reqDelegate)
Configure debug to use delegate handler for its output.
Do not use debug prefix.
Definition: Debug.h:35
DebugClass Debug
Global instance of Debug object.
Definition: CommandOutput.h:15
size_t write(uint8_t) override
Writes a single character to output stream.
eDBGPrefix
Debug prefix state.
Definition: Debug.h:34
Structure for debug options.
Definition: Debug.h:26
Use debug prefix.
Definition: Debug.h:36
bool status()
Get debug status.
Definition: Debug.h:72
void start()
Start debug output.
void stop()
Stop debug output.
DebugClass()
Instantiate a debug object.
Base Stream class.
Definition: Stream.h:32