GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GNAT / dev

Constituent: gnat_xbrd     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

log.h File Reference

Defines a message logging class. More...

#include <stdio.h>

Include dependency graph for log.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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 _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.

Define Documentation

#define _ERRL2 status,
msg,
p1,
p2   ) 
 

Error message with 2 arguments.

#define _LOG1 level,
status,
msg,
p1   ) 
 

Log message with 1 arguments.

#define _LOG2 level,
status,
msg,
p1,
p2   ) 
 

Log message with 2 arguments.


Generated on Fri Oct 22 04:28:42 2004 by doxygen 1.3.3