add new tracing class

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6465 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2002-01-02 02:29:43 +00:00
parent 72a17bc35d
commit b06c1567a3
3 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Open questions: how do we deal with the backends ???
#include "TransactionP.h" #include "TransactionP.h"
/* This static indicates the debugging module that this .o belongs to. */ /* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_ENGINE; static short module = MOD_BOOK;
/* ================================================================ */ /* ================================================================ */
/* Reparent transaction to new book. This routine does this by /* Reparent transaction to new book. This routine does this by

View File

@ -63,6 +63,7 @@ static gncLogLevel loglevel[MOD_LAST + 1] =
GNC_LOG_WARNING, /* SQL TXN */ GNC_LOG_WARNING, /* SQL TXN */
GNC_LOG_WARNING, /* KVP */ GNC_LOG_WARNING, /* KVP */
GNC_LOG_DEBUG, /* SX */ GNC_LOG_DEBUG, /* SX */
GNC_LOG_WARNING, /* BOOK */
}; };
static FILE *fout = NULL; static FILE *fout = NULL;

View File

@ -61,7 +61,8 @@ typedef enum
MOD_TXN = 14, MOD_TXN = 14,
MOD_KVP = 15, MOD_KVP = 15,
MOD_SX = 16, MOD_SX = 16,
MOD_LAST = 16 MOD_BOOK = 17,
MOD_LAST = 17
} gncModuleType; } gncModuleType;
typedef enum typedef enum