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, and SSD1306_OLED/128x64/SimpleTerminalOut/SimpleTerminalOut.ino.

Definition at line 1124 of file terminal.h.