-
- Downloads
Improved logging with both compile and runtime level filtering
The device level debug will have to be removed and the debugging
can be based on this new logging structure which can tell where
an error (or debug output) occured whch the current implmentation
cannot.
The one limitation is the new macros cannot take a char* for the
format parameter. It must be an actual string literal because it
is concatenated with other strings.
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
Showing
- src/drivers/device/device_posix.cpp 7 additions, 10 deletionssrc/drivers/device/device_posix.cpp
- src/modules/commander/state_machine_helper.cpp 4 additions, 3 deletionssrc/modules/commander/state_machine_helper.cpp
- src/platforms/common/module.mk 2 additions, 1 deletionsrc/platforms/common/module.mk
- src/platforms/common/px4_log.c 5 additions, 0 deletionssrc/platforms/common/px4_log.c
- src/platforms/px4_log.h 114 additions, 70 deletionssrc/platforms/px4_log.h
src/platforms/common/px4_log.c
0 → 100644
Please register or sign in to comment