Skip to content

Commit 63544d0

Browse files
committed
- added setDebugMessageLevel augmented function (should be deprecated)
1 parent 39103a8 commit 63544d0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: src/Arduino_DebugUtils.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ void Arduino_DebugUtils::vPrint(char const * fmt, va_list args) {
9393
******************************************************************************/
9494

9595
Arduino_DebugUtils Debug;
96+
void setDebugMessageLevel(int const debug_level) { Debug.setDebugLevel(debug_level); }

Diff for: src/Arduino_DebugUtils.h

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ static int const DBG_INFO = 2;
3737
static int const DBG_DEBUG = 3;
3838
static int const DBG_VERBOSE = 4;
3939

40+
void setDebugMessageLevel(int const debug_level);
41+
4042
/******************************************************************************
4143
CLASS DECLARATION
4244
******************************************************************************/
@@ -48,6 +50,7 @@ class Arduino_DebugUtils {
4850
Arduino_DebugUtils();
4951

5052
void setDebugLevel(int const debug_level);
53+
5154
void setDebugOutputStream(Stream * stream);
5255

5356
void timestampOn();

0 commit comments

Comments
 (0)