summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-07-13 17:20:55 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commit3c464a994ee8ccba7fd714333f9bb042aba4bb86 (patch)
treecf8f477559b2e954f5c458817f521ab69af93d67 /doc
parentb76a9ce272a9f4447e7cdff45bf6634b3ce4c4b9 (diff)
downloadDLT-daemon-3c464a994ee8ccba7fd714333f9bb042aba4bb86.tar.gz
doc: update disable injection msg for developer
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'doc')
-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
+```