\hypertarget{edmtest_8c}{
\section{edmtest.c File Reference}
\label{edmtest_8c}\index{edmtest.c@{edmtest.c}}
}
Program to test the Event Diagnostic Message facility.  


{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$EFC/EDM.h$>$}\par


\subsection{Detailed Description}
Program to test the Event Diagnostic Message facility. 



\footnotesize\begin{verbatim}
            Usage:
            > edmtest <print_level>

            where:
              print_level: 2 = DEBUG
                           3 = INFORMATIONAL
                           4 = WARNING
                           5 = ERROR
                           6 = FATAL
   \end{verbatim}
\normalsize
 \begin{Desc}
\item[]The EDM facility provides a conditional printf facility. The print level is set by the traditional DEBUG, INFORMATIONAL, etc. levels. In addition to run-time selection of the print level, the facility also has a compile-time selection flag {\em EDM\_\-USE\/}. If this \#define is not set, then all EDM code effectively is removed at the preprocessor stage.\end{Desc}
\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}


\footnotesize\begin{verbatim}

    CVS $Id: edmtest.c,v 1.4 2011/03/27 04:55:30 russell Exp $
\end{verbatim}
\normalsize
 