summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_types.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@jp.adit-jv.com>2016-05-11 12:13:58 +0900
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2016-09-23 15:37:23 +0200
commit53cd25f1e37c65d465493df6e7e3ebb0270bd651 (patch)
tree855fdb70d6996d96defa7491ae454fccdb2effee /include/dlt/dlt_types.h
parentb2326c879612f35e6fcacdf4c9957e942a1d5741 (diff)
downloadDLT-daemon-53cd25f1e37c65d465493df6e7e3ebb0270bd651.tar.gz
Add dlt_user_is_logLevel_enabled API
This function allows an application developer to check if the DLT LogLevel is enabled before starting any log string creation. It can be used in application specific logging wrapper functions. Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com> Change-Id: I4c269b12bfdeae29a4e795385cdbc54a579ba621
Diffstat (limited to 'include/dlt/dlt_types.h')
-rw-r--r--include/dlt/dlt_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h
index cd12e77..03cd036 100644
--- a/include/dlt/dlt_types.h
+++ b/include/dlt/dlt_types.h
@@ -85,6 +85,7 @@ typedef unsigned int speed_t;
*/
typedef enum
{
+ DLT_RETURN_LOGGING_DISABLED = -7,
DLT_RETURN_USER_BUFFER_FULL = -6,
DLT_RETURN_WRONG_PARAMETER = -5,
DLT_RETURN_BUFFER_FULL = -4,