Philippe Teuwen
38966cb2fb
Forgot to commit new log internal header file
2013-03-09 10:56:51 +01:00
Philippe Teuwen
6a110b3849
Creating log_internal.h for log_*put_internal() prototypes
...
Fixed warning "no previous prototype for function" in log_posix.c
2013-03-09 01:00:21 +01:00
Philippe Teuwen
f19d233fad
Merge log-printf.c into log.c, inline with prototypes in log.h & platform files log_*.c
2013-03-09 00:46:45 +01:00
Ludovic Rousseau
2faa532826
Fix a typo detected by lintian(1)
...
unkown -> unknown
2013-01-25 14:41:33 +01:00
Romuald Conty
82c41b4fc1
Fixes style: make style
2012-12-09 20:09:55 +01:00
Romuald Conty
9b3947b8ed
Improves log feature:
...
* Add --disable-log
* Add a log level filter, configurable using conf file (ie. /etc/nfc/libnfc.conf) or environment var LIBNFC_LOG_LEVEL
2012-11-26 21:02:03 +01:00
Romuald Conty
90c05c7d13
Add a printf-based logging when log4c is not available (I experiemented some bugs using log4c)
2011-12-07 14:59:40 +00:00
Romuald Conty
ca8bd1df91
logging: remove semaphore usage since libnfc is not threaded and log4c does handle threaded cases itself. (Should ease Windows compiling)
2011-09-20 14:07:40 +00:00
Romuald Conty
e8eec583ed
Enhance logging system:
...
* Removes internal DBG/WARN/ERR macros (but keep them in examples);
* Removes almost all DEBUG define references;
* Uses the flexible log4c library to log all messages.
2011-09-12 14:50:01 +00:00