diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:55 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:55 +0000 |
commit | a320231a3960c044dc1cdbf252087aeee59e85fa (patch) | |
tree | 7ee12d16dc38f7a4d58099c7003edcf6d011f940 /navit/navit_shipped.xml | |
parent | 7353c78550a36da8f0648f666d97e21f1702117d (diff) | |
download | navit-a320231a3960c044dc1cdbf252087aeee59e85fa.tar.gz |
Add:core:Allow setting the debug level by name in navit.xml.|#1269, last part
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5969 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit_shipped.xml')
-rw-r--r-- | navit/navit_shipped.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml index 17bc57a49..c2f3f6286 100644 --- a/navit/navit_shipped.xml +++ b/navit/navit_shipped.xml @@ -15,11 +15,12 @@ </plugins> <!-- The global debug level (like using command line option "-d"). Ignored if option -d is used. --> - <debug name="global" level="0"/> + <!-- Possible debug levels: error, warning, info, debug. --> + <debug name="global" dbg_level="error"/> <!-- Example of setting the debug level for a single function. --> - <debug name="navit:do_draw" level="0"/> + <debug name="navit:do_draw" dbg_level="error"/> <!-- This is here so one can copy&paste the contents of popup menus --> - <debug name="navit:popup_printf_cb" level="3"/> + <debug name="navit:popup_printf_cb" dbg_level="debug"/> <!-- segv: 1 - show backtrace with gdb and exit, 2 - stay in gdb --> <debug name="segv" level="1"/> <!-- timestamps 0/1 - prefix log messages with a timestamp --> |