summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-07-13 17:20:55 +0700
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2021-01-06 09:15:12 +0900
commit5d0eb635e502f81d6af89fbbff15e6bc340acb22 (patch)
treecf8f477559b2e954f5c458817f521ab69af93d67
parent871c281fe5aa034efccfbe0e4cea6573d73b792a (diff)
downloadDLT-daemon-5d0eb635e502f81d6af89fbbff15e6bc340acb22.tar.gz
doc: update disable injection msg for developer
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
-rw-r--r--doc/dlt_for_developers.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/dlt_for_developers.md b/doc/dlt_for_developers.md
index e0123f8..931397c 100644
--- a/doc/dlt_for_developers.md
+++ b/doc/dlt_for_developers.md
@@ -779,3 +779,19 @@ context changed. The usage is similar to DLT\_REGISTER\_INJECTION\_CALLBACK.
```
DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK(CONTEXT, CALLBACK)
```
+## Disable injection messages
+
+An environment variable named `DLT_DISABLE_INJECTION_MSG_AT_USER` could be used in case
+dlt application wants to ignore all data/messages from dlt-daemon completely.
+
+To use:
+
+```
+export DLT_DISABLE_INJECTION_MSG_AT_USER=1
+```
+
+To clear:
+
+```
+unset DLT_DISABLE_INJECTION_MSG_AT_USER
+```