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
commit2d1b22bbb20d3d294666d9ffa22bf2411753ca4f (patch)
tree0bec5aaa4fce6e6b44392fa719f1ab8dbe524da5 /navit/debug.h
parenta3d023e0b5ce909c479540c9565e663182b5dd27 (diff)
downloadnavit-svn-2d1b22bbb20d3d294666d9ffa22bf2411753ca4f.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 5a0317e8..f9b520f9 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);