CAC_smartcushion / Mbed OS AdiSense1000_V21_Smartcushion

Fork of Sean_AdiSense1000_V21 by Rohan Gurav

Branch:
v2.0
Revision:
29:57edca10d78c
Parent:
27:567abf893938
--- a/inc/adi_sense_log.h	Mon Mar 26 20:28:05 2018 +0100
+++ b/inc/adi_sense_log.h	Tue May 22 13:45:24 2018 +0100
@@ -89,13 +89,23 @@
  *         - #ADI_SENSE_NO_MEM  Failed to allocate memory for device context.
  */
 ADI_SENSE_RESULT adi_sense_LogOpen(
-    void);
+    ADI_SENSE_PLATFORM_LOG_CONFIG *pConfig);
 
 /*!
  * @brief Close the Log interface and free resources.
  */
-void adi_sense_LogClose(
-    void);
+void adi_sense_LogClose(void);
+
+/*!
+ * @brief Set the minimum priority level for the log messages.
+ *
+ * @param[in]  maxLevel priority level
+ *
+ * @details Sets the log priority level.  Messages with priority lower
+            that this level will not be passed to the log interface.
+ */
+void adi_sense_LogLevel(
+    ADI_SENSE_LOG_LEVEL maxLevel);
 
 /*!
  * @brief Print a log message to the platform log interface.