begine modernization of debuggin infrastructure

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1425 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
1998-12-06 07:43:14 +00:00
parent 13479e1ec9
commit 18d991d3d7
4 changed files with 47 additions and 36 deletions

View File

@@ -31,7 +31,13 @@
#include "util.h"
/** GLOBALS *********************************************************/
int loglevel = 1;
int loglevel[MODULE_MAX] =
{0, /* DUMMY */
4, /* ENGINE */
1, /* IO */
3, /* REGISTER */
2, /* GUI */
};
/********************************************************************\
* DEBUGGING MEMORY ALLOCATION STUFF *