diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2013-12-02 13:35:30 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-01-10 07:15:55 +0100 |
commit | 216ab4260fa05795564766ab3ea0f3020d036fd3 (patch) | |
tree | e61685645ad4f1cd3fce8dd15416adc79ea76abf /include/dlt | |
parent | 59d85ca21fd00f3598cba7536d0134bc6da57087 (diff) | |
download | DLT-daemon-216ab4260fa05795564766ab3ea0f3020d036fd3.tar.gz |
Environement variables added to configure internal logging in library.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include/dlt')
-rwxr-xr-x | include/dlt/dlt_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 7f205c9..0740c9e 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -174,6 +174,13 @@ #define LOG_DAEMON (3<<3) #endif +enum { + DLT_LOG_TO_CONSOLE=0, + DLT_LOG_TO_SYSLOG=1, + DLT_LOG_TO_FILE=2, + DLT_LOG_DROPPED=3 +}; + /** * The standard TCP Port used for DLT daemon */ @@ -1232,6 +1239,11 @@ extern "C" */ int dlt_message_argument_print(DltMessage *msg,uint32_t type_info,uint8_t **ptr,int32_t *datalength,char *text,int textlength,int byteLength,int verbose); + /** + * Check environment variables. + */ + void dlt_check_envvar(); + #ifdef __cplusplus } #endif |