added more error debugging
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@355 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -51,8 +51,10 @@ extern struct rf_driver driver_libnfc;
|
||||
{if (verbose >= LEVEL_INFO) \
|
||||
printf (__VA_ARGS__);}
|
||||
#define ERROR(...) \
|
||||
{if (verbose >= 0) \
|
||||
fprintf (stderr, __VA_ARGS__);}
|
||||
{ \
|
||||
if (verbose >= LEVEL_DEBUG) fprintf (stderr, "%s:%u\t", __FILE__, __LINE__); \
|
||||
if (verbose >= 0) fprintf (stderr, __VA_ARGS__); \
|
||||
}
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user