\section{TPProto::Logger Class Reference}
\label{classTPProto_1_1Logger}\index{TPProto::Logger@{TPProto::Logger}}
The logging base class.  


{\tt \#include $<$logger.h$>$}

Inheritance diagram for TPProto::Logger::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTPProto_1_1Logger}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf $\sim$Logger} ()\label{classTPProto_1_1Logger_5e89d6c58ec819b10637230e3e71cdcf}

\begin{CompactList}\small\item\em Required virtual destructor. \item\end{CompactList}\item 
virtual void {\bf error} (const char $\ast$mesg,...)=0
\begin{CompactList}\small\item\em Log an error message. \item\end{CompactList}\item 
virtual void {\bf warning} (const char $\ast$mesg,...)=0
\begin{CompactList}\small\item\em Log a warning message. \item\end{CompactList}\item 
virtual void {\bf info} (const char $\ast$mesg,...)=0
\begin{CompactList}\small\item\em Log an info message. \item\end{CompactList}\item 
virtual void {\bf debug} (const char $\ast$mesg,...)=0
\begin{CompactList}\small\item\em Log a debug message. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
The logging base class. 

The \doxyref{Logger}{p.}{classTPProto_1_1Logger} class is used by the library to write information back to the client. It can be specialised for any application. 



\subsection{Member Function Documentation}
\index{TPProto::Logger@{TPProto::Logger}!error@{error}}
\index{error@{error}!TPProto::Logger@{TPProto::Logger}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void TPProto::Logger::error (const char $\ast$ {\em mesg},  {\em ...})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTPProto_1_1Logger_8239efc750f7a59e3a117be6d46114d8}


Log an error message. 

Takes a format string and args. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mesg}]\doxyref{Message}{p.}{classTPProto_1_1Message} format string. \end{description}
\end{Desc}


Implemented in {\bf TPProto::Silent\-Logger} \doxyref{}{p.}{classTPProto_1_1SilentLogger_18f55e82c2d6886f96cebe505462b03c}.\index{TPProto::Logger@{TPProto::Logger}!warning@{warning}}
\index{warning@{warning}!TPProto::Logger@{TPProto::Logger}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void TPProto::Logger::warning (const char $\ast$ {\em mesg},  {\em ...})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTPProto_1_1Logger_63b4620ba8675f972531654173516b5b}


Log a warning message. 

Takes a format string and args. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mesg}]\doxyref{Message}{p.}{classTPProto_1_1Message} format string. \end{description}
\end{Desc}


Implemented in {\bf TPProto::Silent\-Logger} \doxyref{}{p.}{classTPProto_1_1SilentLogger_e9b009ccb0ad47a6f5a7e1693bff6faf}.\index{TPProto::Logger@{TPProto::Logger}!info@{info}}
\index{info@{info}!TPProto::Logger@{TPProto::Logger}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void TPProto::Logger::info (const char $\ast$ {\em mesg},  {\em ...})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTPProto_1_1Logger_27c9234b1bb1ed3bed39ca5001a9fa3d}


Log an info message. 

Takes a format string and args. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mesg}]\doxyref{Message}{p.}{classTPProto_1_1Message} format string. \end{description}
\end{Desc}


Implemented in {\bf TPProto::Silent\-Logger} \doxyref{}{p.}{classTPProto_1_1SilentLogger_446cd7c924122f7d5324afd516657e52}.\index{TPProto::Logger@{TPProto::Logger}!debug@{debug}}
\index{debug@{debug}!TPProto::Logger@{TPProto::Logger}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void TPProto::Logger::debug (const char $\ast$ {\em mesg},  {\em ...})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTPProto_1_1Logger_a363279b4dc0ad583505419d54c29017}


Log a debug message. 

Takes a format string and args. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mesg}]\doxyref{Message}{p.}{classTPProto_1_1Message} format string. \end{description}
\end{Desc}


Implemented in {\bf TPProto::Silent\-Logger} \doxyref{}{p.}{classTPProto_1_1SilentLogger_b187a2f438098f644e896b9cccc362c8}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
tpproto/{\bf logger.h}\end{CompactItemize}
