|
pcsc-lite
2.5.0
|
This handles debugging for pcscd. More...
#include "config.h"#include <syslog.h>#include <unistd.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <assert.h>#include <sys/types.h>#include <sys/time.h>#include <time.h>#include <pthread.h>#include <stdbool.h>#include "pcsclite.h"#include "misc.h"#include "debuglog.h"#include "sys_generic.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_BUF_SIZE 2048 |
| Max string size dumping a maximum of 2 lines of 80 characters. | |
| #define | CASE(x) |
| #define | THREAD_FORMAT "%p" |
Variables | |
| static char | LogMsgType = DEBUGLOG_NO_DEBUG |
| static char | LogCategory = DEBUG_CATEGORY_NOTHING |
| static char | LogLevel = PCSC_LOG_ERROR |
| default level | |
| static bool | LogDoColor = false |
| no color by default | |
| static pthread_mutex_t | LastTimeMutex = PTHREAD_MUTEX_INITIALIZER |
This handles debugging for pcscd.
Definition in file debuglog.c.
| #define CASE | ( | x | ) |