FabGL
ESP32 Display Controller and Graphics Library

◆ setLogStream()

void setLogStream ( Stream &  stream)
inline

Sets the stream where to output debugging logs.

Logging info sents to the logging stream are detailed by FABGLIB_TERMINAL_DEBUG_REPORT_.... macros in fabglconf.h configuration file.

Parameters
streamThe logging stream.

Example:

Serial.begin(115200);
Terminal.begin(&VGAController);
Terminal.setLogStream(Serial);
Examples
SSD1306_OLED/128x32/SimpleTerminalOut/SimpleTerminalOut.ino, SSD1306_OLED/128x64/SimpleTerminalOut/SimpleTerminalOut.ino, and VGA/AnsiTerminal/AnsiTerminal.ino.

Definition at line 1134 of file terminal.h.