diff options
author | venaas <venaas> | 2007-05-04 14:46:49 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-05-04 14:46:49 +0000 |
commit | e103487ade654c8cb2bd20fcaadf97ee98faa737 (patch) | |
tree | 63b195783c52e776229ffbe042df576d82aad1ac /debug.h | |
parent | f32f6b2ef9cd578920c98b7b60c56b8ed1c4bc1c (diff) |
added logging to file and syslog (need to add support for specifying facility)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@72 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,5 +10,9 @@ #define DBG_WARN 32 #define DBG_ERR 64 +void debug_init(char *ident); void debug_set_level(uint8_t level); +uint8_t debug_get_level(); void debug(uint8_t level, char *format, ...); +void debugx(int status, uint8_t level, char *format, ...); +int debug_set_destination(char *dest); |