summaryrefslogtreecommitdiff
path: root/navit/debug.h
diff options
context:
space:
mode:
authorzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-28 22:54:01 +0000
committerzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-28 22:54:01 +0000
commit05f05c1d475a7be7e2e64a13cb7616e93f9f005f (patch)
tree0bec5aaa4fce6e6b44392fa719f1ab8dbe524da5 /navit/debug.h
parentb444854d0b381c02a69922cd86e4fb97379ab23c (diff)
downloadnavit-05f05c1d475a7be7e2e64a13cb7616e93f9f005f.tar.gz
Add:core:Interface to redirect the console log to a file
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1601 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.h')
-rw-r--r--navit/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/debug.h b/navit/debug.h
index 5a0317e89..f9b520f94 100644
--- a/navit/debug.h
+++ b/navit/debug.h
@@ -35,6 +35,8 @@ extern int debug_level;
/* prototypes */
struct attr;
void debug_init(const char *program_name);
+void debug_destroy(void);
+void debug_set_logfile(const char *path);
void debug_level_set(const char *name, int level);
int debug_level_get(const char *name);
struct debug *debug_new(struct attr *parent, struct attr **attrs);