From c9496d17980bbc9a2c5b30742e6ff1ff7ec299b2 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Wed, 9 Nov 2011 22:04:30 +0100 Subject: Added dlt-daemon internal logging configuration into dlt.conf file. Internal logging to file now also possible. --- include/dlt/dlt_common.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 67371be..be315a0 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -861,9 +861,19 @@ extern "C" */ int dlt_file_free(DltFile *file,int verbose); + /** + * Set internal logging filename if mode 2 + * @param filename the filename + */ + void dlt_log_set_filename(const char *filename); + /** + * Set internal logging level + * @param level the level + */ + void dlt_log_set_level(int level); /** * Initialize (external) logging facility - * @param mode positive, if syslog should be used; zero for console output + * @param mode positive, 0 = log to stdout, 1 = log to syslog, 2 = log to file */ void dlt_log_init(int mode); /** -- cgit v1.2.1