GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > edmtest / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

edmtest.c File Reference

Program to test the Event Diagnostic Message facility. More...

#include <stdlib.h>
#include <stdio.h>
#include <EFC/EDM.h>


Detailed Description

Program to test the Event Diagnostic Message facility.

            Usage:
            > edmtest <print_level>

            where:
              print_level: 2 = DEBUG
                           3 = INFORMATIONAL
                           4 = WARNING
                           5 = ERROR
                           6 = FATAL
   
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 EDM_USE. If this #define is not set, then all EDM code effectively is removed at the preprocessor stage.
Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: edmtest.c,v 1.4 2011/03/27 04:55:30 russell Exp $

Generated on Fri Jan 11 11:18:01 2013 by  doxygen 1.5.8