diff options
Diffstat (limited to 'AudioManagerUtilities/include/CAmDltWrapper.h')
-rw-r--r-- | AudioManagerUtilities/include/CAmDltWrapper.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/AudioManagerUtilities/include/CAmDltWrapper.h b/AudioManagerUtilities/include/CAmDltWrapper.h index 90ce903..dc5ec64 100644 --- a/AudioManagerUtilities/include/CAmDltWrapper.h +++ b/AudioManagerUtilities/include/CAmDltWrapper.h @@ -298,6 +298,12 @@ public: } append(mStr_Handle[value]); } + + template<typename T = const am_Handle_s> void append(const am_Handle_s value) + { + append (value.handleType); + append (value.handle); + } template<typename T = const am_NotificationStatus_e> void append(const am_NotificationStatus_e value) { @@ -423,6 +429,17 @@ void logWarning(T value, TArgs... args) log(NULL, DLT_LOG_WARN,value,args...); } +/** + * logs given values with verbose with the default context + * @param value + * @param ... + */ +template<typename T, typename... TArgs> +void logVerbose(T value, TArgs... args) +{ + log(NULL, DLT_LOG_VERBOSE,value,args...); +} + } #endif /* DLTWRAPPER_H_ */ |