SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::DebugOutput Class Reference

Initialize logging/debug output. More...

#include <sensesp/net/debug_output.h>

Inheritance diagram for sensesp::DebugOutput:
[legend]

Public Member Functions

 DebugOutput ()
 
virtual void start () override
 
- Public Member Functions inherited from sensesp::Startable
 Startable (int priority=0)
 
const int get_start_priority ()
 
void set_start_priority (int priority)
 

Additional Inherited Members

- Static Public Member Functions inherited from sensesp::Startable
static void start_all ()
 

Detailed Description

Initialize logging/debug output.

The actual output mechanism is controlled by preprocessor macros defined in platformio.ini.

If DEBUG_DISABLED is defined, all output is disabled. If REMOTE_DEBUG is defined, output is enabled both over the serial interface and over telnet on port 23. By default, output is enabled only on the serial interface.

Definition at line 23 of file debug_output.h.

Constructor & Destructor Documentation

◆ DebugOutput()

sensesp::DebugOutput::DebugOutput ( )
inline

Definition at line 25 of file debug_output.h.

Member Function Documentation

◆ start()

void sensesp::DebugOutput::start ( )
overridevirtual

Called during the initialization process. Override this method to add runtime initialization code to your class

Reimplemented from sensesp::Startable.

Definition at line 17 of file debug_output.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: