diff --git a/src/Arduino_DebugUtils.cpp b/src/Arduino_DebugUtils.cpp index 333765d..8c48aee 100644 --- a/src/Arduino_DebugUtils.cpp +++ b/src/Arduino_DebugUtils.cpp @@ -93,3 +93,4 @@ void Arduino_DebugUtils::vPrint(char const * fmt, va_list args) { ******************************************************************************/ Arduino_DebugUtils Debug; +void setDebugMessageLevel(int const debug_level) { Debug.setDebugLevel(debug_level); } \ No newline at end of file diff --git a/src/Arduino_DebugUtils.h b/src/Arduino_DebugUtils.h index 01ea362..77bfe45 100644 --- a/src/Arduino_DebugUtils.h +++ b/src/Arduino_DebugUtils.h @@ -37,6 +37,8 @@ static int const DBG_INFO = 2; static int const DBG_DEBUG = 3; static int const DBG_VERBOSE = 4; +void setDebugMessageLevel(int const debug_level); + /****************************************************************************** CLASS DECLARATION ******************************************************************************/ @@ -48,6 +50,7 @@ class Arduino_DebugUtils { Arduino_DebugUtils(); void setDebugLevel(int const debug_level); + void setDebugOutputStream(Stream * stream); void timestampOn();