#include <stdio.h>
#include <pthread.h>
#include "config.h"
Go to the source code of this file.
Defines | |
#define | LOG_PREFIX "NP_" 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 ERRORPRINTF | ( | x, | |||
... | ) | fprintf(stderr, "(" LOG_PREFIX "_E)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__, ##__VA_ARGS__) |
Definition at line 62 of file notepad/include/log.h.
#define LOG_PREFIX "NP_" PACKAGE_NAME |
Copyright (C) 2010 IREX Technologies B.V. All rights reserved.
Definition at line 47 of file notepad/include/log.h.
#define LOGPRINTF | ( | x, | |||
... | ) | do {} while (0) |
Definition at line 52 of file notepad/include/log.h.
#define TRACEFUNCTION | ( | ) | do {} while (0) |
Definition at line 98 of file notepad/include/log.h.
#define WARNPRINTF | ( | x, | |||
... | ) | fprintf(stderr, "(" LOG_PREFIX "_W)[%d]" __FILE__ ":%d,%s() " x "\n", (unsigned int)pthread_self(), __LINE__, __FUNCTION__ , ##__VA_ARGS__) |
Definition at line 56 of file notepad/include/log.h.