FabGL
ESP32 VGA Controller and Graphics Library

◆ setLogStream()

void fabgl::TerminalClass::setLogStream ( Stream &  stream)
inline

Set 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();
   Terminal.setLogStream(Serial);