[Pcsclite-cvs-commit] r1988 - trunk/PCSC/doc

Ludovic Rousseau rousseau at costa.debian.org
Thu Mar 30 11:14:26 CEST 2006


Author: rousseau
Date: 2006-03-30 09:14:24 +0000 (Thu, 30 Mar 2006)
New Revision: 1988

Modified:
   trunk/PCSC/doc/pcsc-lite.tex
Log:
log_msg and log_xxd are only available for pcscd drivers. These
functions are no more provided by libpcsclite


Modified: trunk/PCSC/doc/pcsc-lite.tex
===================================================================
--- trunk/PCSC/doc/pcsc-lite.tex	2006-03-28 09:57:09 UTC (rev 1987)
+++ trunk/PCSC/doc/pcsc-lite.tex	2006-03-30 09:14:24 UTC (rev 1988)
@@ -1487,20 +1487,20 @@
 %---------%---------%---------%---------%---------%---------
 \subsection{log\_msg and log\_xxd}
 
-pcsc-lite provides two functions that can be used to log debug messages.
-You \emph{should not} use these functions unless you know what you do.
-You should not use \texttt{log\_msg()} directly but use the macros
-defined in \texttt{/usr/include/PCSC/debuglog.h}.
+The \texttt{pcscd} daemon (part of pcsc-lite) provides two functions
+that can be used to log debug messages. You should not use
+\texttt{log\_msg()} directly but use the macros defined in
+\texttt{/usr/include/PCSC/debuglog.h}.
 
-These logging functions are used by some IFD handlers to benefit from
-the log framework offered by \texttt{pcscd} (the daemon).
+These logging functions are used by some IFD handlers (smart card
+driver) like the CCID driver
+\url{http://pcsclite.alioth.debian.org/ccid.html} to benefit from the
+log framework offered by \texttt{pcscd} (the daemon). With these
+functions it is easy to change the log level (debug, info, error or
+critical) and the log output (syslog or stderr) without recompiling the
+driver.
 
-These logging functions are also used by \texttt{libmusclecard} to log
-some internal information and errors. You have to define the environment
-variable \texttt{MUSCLECARD\_DEBUG} to activate the debug on the client
-side.
 
-
 %---------%---------%---------%---------%---------%---------%---------
 \section{Multithreading and contexts}
 




More information about the Pcsclite-cvs-commit mailing list