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

#include <sensesp/system/local_debug.h>

Public Member Functions

bool begin (uint8_t startingDebugLevel=DEBUG)
 
void setSerialEnabled (bool enable)
 
void setResetCmdEnabled (bool enable)
 
boolean isActive (uint8_t debugLevel=DEBUG)
 

Static Public Attributes

static const uint8_t PROFILER
 
static const uint8_t VERBOSE = 1
 
static const uint8_t DEBUG = 2
 
static const uint8_t INFO = 3
 
static const uint8_t WARNING = 4
 
static const uint8_t ERROR = 5
 
static const uint8_t ANY
 

Detailed Description

Definition at line 39 of file local_debug.h.

Member Function Documentation

◆ begin()

bool sensesp::LocalDebug::begin ( uint8_t startingDebugLevel = DEBUG)

Definition at line 7 of file local_debug.cpp.

◆ isActive()

boolean sensesp::LocalDebug::isActive ( uint8_t debugLevel = DEBUG)

Definition at line 12 of file local_debug.cpp.

◆ setResetCmdEnabled()

void sensesp::LocalDebug::setResetCmdEnabled ( bool enable)
inline

Definition at line 45 of file local_debug.h.

◆ setSerialEnabled()

void sensesp::LocalDebug::setSerialEnabled ( bool enable)
inline

Definition at line 43 of file local_debug.h.

Member Data Documentation

◆ ANY

const uint8_t sensesp::LocalDebug::ANY
static
Initial value:
=
6

Definition at line 58 of file local_debug.h.

◆ DEBUG

const uint8_t sensesp::LocalDebug::DEBUG = 2
static

Definition at line 54 of file local_debug.h.

◆ ERROR

const uint8_t sensesp::LocalDebug::ERROR = 5
static

Definition at line 57 of file local_debug.h.

◆ INFO

const uint8_t sensesp::LocalDebug::INFO = 3
static

Definition at line 55 of file local_debug.h.

◆ PROFILER

const uint8_t sensesp::LocalDebug::PROFILER
static
Initial value:
=
0

Definition at line 51 of file local_debug.h.

◆ VERBOSE

const uint8_t sensesp::LocalDebug::VERBOSE = 1
static

Definition at line 53 of file local_debug.h.

◆ WARNING

const uint8_t sensesp::LocalDebug::WARNING = 4
static

Definition at line 56 of file local_debug.h.


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