summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2020-12-08 10:22:42 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commit635a94e141d3c0d73130069e979f4bb63d464c1d (patch)
treea5da5318c3cf7ea2ed44c35893aa134ebe7f9a39 /include
parent4eb5be749b23081d2c92680d2a481e36f7ac0685 (diff)
downloadDLT-daemon-635a94e141d3c0d73130069e979f4bb63d464c1d.tar.gz
logstorage: Implement general config to maintain logstorage loglevel
Runtime log level setting from dlt-viewer or dlt-control doesn't work when logstorage is enabled. Adding MaintainLogstorageLogLevel=ON/OFF to [General] session of dlt_logstorage.conf to keep the current behaviour (=ON or 1 or not defined), or allow to change log level from dlt-viewer or dlt-control when the logstorage is enabled (=OFF or 0). Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com> Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h
index 9943e31..2880c89 100644
--- a/include/dlt/dlt_types.h
+++ b/include/dlt/dlt_types.h
@@ -173,6 +173,13 @@ typedef enum
DLT_USER_MODE_MAX /**< maximum value, used for range check */
} DltUserLogMode;
+/**
+ * Definition of Maintain Logstorage Loglevel modes
+ */
+#define DLT_MAINTAIN_LOGSTORAGE_LOGLEVEL_UNDEF -1
+#define DLT_MAINTAIN_LOGSTORAGE_LOGLEVEL_OFF 0
+#define DLT_MAINTAIN_LOGSTORAGE_LOGLEVEL_ON 1
+
typedef float float32_t;
typedef double float64_t;