\hypertarget{classcore_1_1_log}{}\section{core\+:\+:Log Class Reference}
\label{classcore_1_1_log}\index{core\+::\+Log@{core\+::\+Log}}


{\ttfamily \#include $<$Log.\+h$>$}



Inheritance diagram for core\+:\+:Log\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=264pt]{classcore_1_1_log__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for core\+:\+:Log\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcore_1_1_log__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcore_1_1_log_afdc2efeedef6f3fa9872d508a4addbb2}{Log} (\hyperlink{classcore_1_1_console_server}{Console\+Server} $\ast$\hyperlink{classcore_1_1_log_af827af1601d71bca20249484962142f4}{console\+Server})
\item 
\hyperlink{classcore_1_1_log_a334bd775d81933d6feb1535652c6542e}{Log} (\hyperlink{classcore_1_1_file}{File} $\ast$\hyperlink{classcore_1_1_log_a7f9c71cb4fea14efccdc838562757f13}{log\+File})
\item 
\hyperlink{classcore_1_1_log_a284b8f21cd70d7ebccc14cce6aafbfbf}{Log} (int level)
\item 
\hyperlink{classcore_1_1_log_afaaaad27423c3d2233942210b1f9a756}{$\sim$\+Log} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classcore_1_1_log_a2e8e51a1d36f1957fa61a908b364f82c}\label{classcore_1_1_log_a2e8e51a1d36f1957fa61a908b364f82c}} 
bool {\bfseries output} = false
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classcore_1_1_console_server}{Console\+Server} $\ast$ \hyperlink{classcore_1_1_log_af827af1601d71bca20249484962142f4}{console\+Server} = N\+U\+LL
\item 
static \hyperlink{classcore_1_1_file}{File} $\ast$ \hyperlink{classcore_1_1_log_a7f9c71cb4fea14efccdc838562757f13}{log\+File} = N\+U\+LL
\item 
static int \hyperlink{classcore_1_1_log_aa040c12560c120f7b4200237b628d77e}{seq} = 0
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classcore_1_1_log}{Log}

Provides easy to access and use logging features to maintain a history of activity and provide information for activity debugging. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classcore_1_1_log_afdc2efeedef6f3fa9872d508a4addbb2}\label{classcore_1_1_log_afdc2efeedef6f3fa9872d508a4addbb2}} 
\index{core\+::\+Log@{core\+::\+Log}!Log@{Log}}
\index{Log@{Log}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{Log()}{Log()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily core\+::\+Log\+::\+Log (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_console_server}{Console\+Server} $\ast$}]{console\+Server }\end{DoxyParamCaption})}

Constructor method that accepts a pointer to the applications console server. This enables the \hyperlink{classcore_1_1_log}{Log} object to send new log messages to the connected console sessions.


\begin{DoxyParams}{Parameters}
{\em console\+Server} & a pointer to the console server that will be used to echo log entries. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classcore_1_1_log_a334bd775d81933d6feb1535652c6542e}\label{classcore_1_1_log_a334bd775d81933d6feb1535652c6542e}} 
\index{core\+::\+Log@{core\+::\+Log}!Log@{Log}}
\index{Log@{Log}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{Log()}{Log()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily core\+::\+Log\+::\+Log (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_file}{File} $\ast$}]{log\+File }\end{DoxyParamCaption})}

Constructor method accepts a file object that will be used to echo all log entries. This provides a permanent disk file record of all logged activity. \mbox{\Hypertarget{classcore_1_1_log_a284b8f21cd70d7ebccc14cce6aafbfbf}\label{classcore_1_1_log_a284b8f21cd70d7ebccc14cce6aafbfbf}} 
\index{core\+::\+Log@{core\+::\+Log}!Log@{Log}}
\index{Log@{Log}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{Log()}{Log()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily core\+::\+Log\+::\+Log (\begin{DoxyParamCaption}\item[{int}]{level }\end{DoxyParamCaption})}

Constructor method that is used to send a message to the log.


\begin{DoxyParams}{Parameters}
{\em level} & the logging level to associate with this message.\\
\hline
\end{DoxyParams}
To send log message\+: Log(\+L\+O\+G\+\_\+\+I\+N\+F\+O) $<$$<$ \char`\"{}\+This is a log message.\char`\"{}; \mbox{\Hypertarget{classcore_1_1_log_afaaaad27423c3d2233942210b1f9a756}\label{classcore_1_1_log_afaaaad27423c3d2233942210b1f9a756}} 
\index{core\+::\+Log@{core\+::\+Log}!````~Log@{$\sim$\+Log}}
\index{````~Log@{$\sim$\+Log}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{$\sim$\+Log()}{~Log()}}
{\footnotesize\ttfamily core\+::\+Log\+::$\sim$\+Log (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

The destructor for the log object. 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classcore_1_1_log_af827af1601d71bca20249484962142f4}\label{classcore_1_1_log_af827af1601d71bca20249484962142f4}} 
\index{core\+::\+Log@{core\+::\+Log}!console\+Server@{console\+Server}}
\index{console\+Server@{console\+Server}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{console\+Server}{consoleServer}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_console_server}{Console\+Server} $\ast$ core\+::\+Log\+::console\+Server = N\+U\+LL\hspace{0.3cm}{\ttfamily [static]}}

Set the console\+Server to point to the instantiated \hyperlink{classcore_1_1_console_server}{Console\+Server} object for the application. \mbox{\Hypertarget{classcore_1_1_log_a7f9c71cb4fea14efccdc838562757f13}\label{classcore_1_1_log_a7f9c71cb4fea14efccdc838562757f13}} 
\index{core\+::\+Log@{core\+::\+Log}!log\+File@{log\+File}}
\index{log\+File@{log\+File}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{log\+File}{logFile}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_file}{File} $\ast$ core\+::\+Log\+::log\+File = N\+U\+LL\hspace{0.3cm}{\ttfamily [static]}}

Specify a \hyperlink{classcore_1_1_file}{File} object where the log entries will be written as a permanent record to disk. \mbox{\Hypertarget{classcore_1_1_log_aa040c12560c120f7b4200237b628d77e}\label{classcore_1_1_log_aa040c12560c120f7b4200237b628d77e}} 
\index{core\+::\+Log@{core\+::\+Log}!seq@{seq}}
\index{seq@{seq}!core\+::\+Log@{core\+::\+Log}}
\subsubsection{\texorpdfstring{seq}{seq}}
{\footnotesize\ttfamily int core\+::\+Log\+::seq = 0\hspace{0.3cm}{\ttfamily [static]}}

A meaningless sequenctial number that starts from -\/ at the beginning of the logging process. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/bradarant/barant/\+Server\+Core/Log.\+h\item 
/home/bradarant/barant/\+Server\+Core/Log.\+cpp\end{DoxyCompactItemize}
