diff options
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/common.cpp b/common.cpp deleted file mode 100644 index 513317d..0000000 --- a/common.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: common.cpp - * Author: savop - * - * Created on 17. April 2009, 20:53 - */ - -#include <stdarg.h> -#include "common.h" -#include "config.h" - -#define MESSAGE_SIZE 256 - -void message(int Level, const char* , int , const char* Format, ...){ - if(Level && cUPnPConfig::verbosity >= Level){ - va_list ap; - char Message[MESSAGE_SIZE]; - - snprintf(Message, sizeof(Message), "[%d] %s", cThread::ThreadId(), Format); - va_start(ap, Format); - vsyslog(LOG_NOTICE, Message, ap); - va_end(ap); - } -}
\ No newline at end of file |