|
DebugUtils 1.0.0
Cross-platform logging macros for Arduino and native tests
|
API docs: https://crabel99.github.io/DebugUtils/
DebugUtils provides lightweight logging macros that work across:
Serial by default)SerialRTT when _DEBUG_ is defined)stdout when NATIVE_TEST is defined)LOG_* levels and convenience macros (_PL, _PLD, _PPE, etc.)LOG_LEVELWhen _DEBUG_ is defined on embedded targets, DebugUtils routes output to SerialRTT. In PlatformIO, add it as a dependency:
LOG_ERRORLOG_WARNLOG_INFO (default)LOG_DEBUGSet in your project:
Define NATIVE_TEST before including debug.h to route logging macros to stdout for host-based tests:
MIT. See LICENSE.