GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GNAT / V2-0-1 > gnat_cio / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

log.h File Reference

Defines a message logging class. More...

#include <stdio.h>

Defines

#define STATUS   int
 For VXWORKS compatibility.
#define OK   (0)
 For VXWORKS compatibility.
#define _LOG(level, status, msg)
 Log message with zero arguments.
#define _LOG1(level, status, msg, p1)
 Log message with 1 arguments.
#define _LOG2(level, status, msg, p1, p2)
 Log message with 2 arguments.
#define _LOG3(level, status, msg, p1, p2, p3)
 Log message with 3 arguments.
#define _LOG2B(level, status, msg, p1, p2)
 Log binary representation with message.
#define _LOGBNDL(level, status, msg, chnl, data)
 Log binary rep of bundle data.
#define _ERRL(status, msg)
 Error message with zero arguments.
#define _ERRL1(status, msg, p1)
 Error message with 1 arguments.
#define _ERRL2(status, msg, p1, p2)
 Error message with 2 arguments.
#define _ERRL3(status, msg, p1, p2, p3)
 Error message with 3 arguments.

Typedefs

typedef enum _LOG_level LOG_level
 Typedef for enum _LOG_level.
typedef struct _sLog * logHandle
 Typedef for struct _sLog.

Enumerations

enum  _LOG_level {
  LOG_DEBUG = 4,
  LOG_INFO = 3,
  LOG_WARN = 2,
  LOG_ERROR = 1,
  LOG_NONE = 0
}
 Enumeration of the various logging levels from verbose to silent.


Detailed Description

Defines a message logging class.

Author:
Curt Brune -- curt@slac.stanford.edu
This class loosely models the syslog facility where messages are handled based on the current log level.

Generated on Wed Nov 21 22:06:12 2012 by  doxygen 1.5.8