diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-02-27 17:37:56 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-02-27 17:37:56 +0100 |
commit | 8700672c769084dea7d85158f497e3b9a9942c12 (patch) | |
tree | 14c893f49adafd5bb2744175e83f2c3b129bca21 /runtime/debug.h | |
parent | b58df795a88f6ec87958be93d559c6e4edc76e5d (diff) | |
download | rsyslog-8700672c769084dea7d85158f497e3b9a9942c12.tar.gz rsyslog-8700672c769084dea7d85158f497e3b9a9942c12.tar.bz2 rsyslog-8700672c769084dea7d85158f497e3b9a9942c12.zip |
added ability to configure debug system via rsyslog.conf
Diffstat (limited to 'runtime/debug.h')
-rw-r--r-- | runtime/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/debug.h b/runtime/debug.h index f802e8c1..d8585fee 100644 --- a/runtime/debug.h +++ b/runtime/debug.h @@ -89,6 +89,8 @@ typedef struct dbgCallStack_s { /* prototypes */ rsRetVal dbgClassInit(void); rsRetVal dbgClassExit(void); +void dbgSetDebugFile(uchar *fn); +void dbgSetDebugLevel(int level); void sigsegvHdlr(int signum); void dbgoprint(obj_t *pObj, char *fmt, ...) __attribute__((format(printf, 2, 3))); void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2))); |