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

Ludovic Rousseau rousseau at costa.debian.org
Mon Mar 20 10:52:11 CET 2006


Author: rousseau
Date: 2006-03-20 09:52:09 +0000 (Mon, 20 Mar 2006)
New Revision: 1948

Modified:
   trunk/PCSC/doc/pcsc-lite.tex
Log:
document log_msg and log_xxd


Modified: trunk/PCSC/doc/pcsc-lite.tex
===================================================================
--- trunk/PCSC/doc/pcsc-lite.tex	2006-03-20 09:35:04 UTC (rev 1947)
+++ trunk/PCSC/doc/pcsc-lite.tex	2006-03-20 09:52:09 UTC (rev 1948)
@@ -1484,6 +1484,23 @@
 \end{verbatim}
 
 
+%---------%---------%---------%---------%---------%---------
+\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}.
+
+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 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