document-viewer-plugins-4.0+svnr7001/plugins/common/log.h File Reference

#include <stdio.h>
#include <pthread.h>
#include "config.h"
Include dependency graph for document-viewer-plugins-4.0+svnr7001/plugins/common/log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LOG_PREFIX   "UDS_" PACKAGE_NAME
#define LOGPRINTF(x,...)   do {} while (0)
#define WARNPRINTF(x,...)   fprintf(stderr, "(" LOG_PREFIX "_W)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__ , ##__VA_ARGS__)
#define ERRORPRINTF(x,...)   fprintf(stderr, "(" LOG_PREFIX "_E)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__, ##__VA_ARGS__)
#define TRACEFUNCTION()   do {} while (0)

Define Documentation

#define ERRORPRINTF ( x,
...   )     fprintf(stderr, "(" LOG_PREFIX "_E)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__, ##__VA_ARGS__)
#define LOG_PREFIX   "UDS_" PACKAGE_NAME

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 47 of file document-viewer-plugins-4.0+svnr7001/plugins/common/log.h.

#define LOGPRINTF ( x,
...   )     do {} while (0)
 
#define TRACEFUNCTION (  )     do {} while (0)
#define WARNPRINTF ( x,
...   )     fprintf(stderr, "(" LOG_PREFIX "_W)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__ , ##__VA_ARGS__)
Generated by  doxygen 1.6.2-20100208