diff options
-rw-r--r-- | common.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -14,8 +14,10 @@ #include <vdr/config.h> #ifdef DEBUG -#define debug(x...) { printf("EnigmaNG: " x); printf("\n"); } -#define error(x...) { fprintf(stderr, "EnigmaNG: " x); fprintf(stderr, "\n"); } +#define debug(x...) dsyslog("EnigmaNG: " x); +#define error(x...) esyslog("EnigmaNG: " x); +//#define debug(x...) { printf("EnigmaNG: " x); printf("\n"); } +//#define error(x...) { fprintf(stderr, "EnigmaNG: " x); fprintf(stderr, "\n"); } #else #define debug(x...) ; #define error(x...) esyslog("EnigmaNG: " x); |