diff options
author | Manikandan C <Manikandan.Chockalingam@in.bosch.com> | 2016-01-28 13:57:07 +0530 |
---|---|---|
committer | Gernot Wirschal <gernot.wirschal@bmw.de> | 2016-04-28 14:32:55 +0200 |
commit | a966393ad7003d02870bceffa08df5ddf4bbf864 (patch) | |
tree | f6e0fb5c0f1b47a47ab944d5dc6731e820bf309e /include | |
parent | 6a8919c637b28fab7cc6f8e87cfca6f13bb8cb1d (diff) | |
download | DLT-daemon-a966393ad7003d02870bceffa08df5ddf4bbf864.tar.gz |
dlt-control: Provision to control entire system log level
1. support for setting log level using wildcards for both app and context
2. support for setting entire system log level
Signed-off-by: Manikandan C <Manikandan.Chockalingam@in.bosch.com>
Change-Id: I92f8c5461903f092cd50f05f644013432940a87b
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_client.h | 7 | ||||
-rw-r--r-- | include/dlt/dlt_protocol.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h index 676ffeb..a4d3181 100644 --- a/include/dlt/dlt_client.h +++ b/include/dlt/dlt_client.h @@ -207,6 +207,13 @@ DltReturnValue dlt_client_send_trace_status(DltClient *client, char *apid, char */ DltReturnValue dlt_client_send_default_log_level(DltClient *client, uint8_t defaultLogLevel); /** + * Send the log level to all contexts registered with dlt daemon + * @param client pointer to dlt client structure + * @param LogLevel Log Level to be set + * @return negative value if there was an error + */ +int dlt_client_send_all_log_level(DltClient *client, uint8_t LogLevel); +/** * Send the default trace status to the dlt daemon * @param client pointer to dlt client structure * @param defaultTraceStatus Default Trace Status diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h index 4600d2e..ee9c326 100644 --- a/include/dlt/dlt_protocol.h +++ b/include/dlt/dlt_protocol.h @@ -201,6 +201,7 @@ #define DLT_SERVICE_ID_OFFLINE_LOGSTORAGE 0xf05 /**< Service ID: Offline log storage */ #define DLT_SERVICE_ID_PASSIVE_NODE_CONNECT 0xf0E /**< Service ID: (Dis)Connect passive Node */ #define DLT_SERVICE_ID_PASSIVE_NODE_CONNECTION_STATUS 0xf0F /**< Service ID: Passive Node status information */ +#define DLT_SERVICE_ID_SET_ALL_LOG_LEVEL 0xf10 /**< Service ID: set all log level */ #define DLT_SERVICE_ID_CALLSW_CINJECTION 0xFFF /**< Service ID: Message Injection (minimal ID) */ /* |