Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

trace.h File Reference

Go to the source code of this file.

Defines

#define rs_trace   rs_trace0
#define rs_fatal   rs_fatal0
#define rs_error   rs_error0
#define rs_log   rs_log0_nofn
#define rs_trace_enabled()   0

Enumerations

enum  { RS_LOG_PRIMASK = 7, RS_LOG_NONAME = 8 }

Functions

void rs_trace0 (char const *s,...)
void rs_fatal0 (char const *s,...)
void rs_error0 (char const *s,...)
void rs_log0 (int level, char const *fn, char const *fmt,...)
void rs_log0_nofn (int level, char const *fmt,...)

Variables

int rs_trace_level


Define Documentation

#define rs_error   rs_error0
 

Definition at line 80 of file trace.h.

#define rs_fatal   rs_fatal0
 

Definition at line 79 of file trace.h.

#define rs_log   rs_log0_nofn
 

Definition at line 81 of file trace.h.

#define rs_trace   rs_trace0
 

Definition at line 78 of file trace.h.

 
#define rs_trace_enabled  )     0
 

Definition at line 111 of file trace.h.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
RS_LOG_PRIMASK  Mask to extract priority part.

For internal use only.

RS_LOG_NONAME  Don't show function name in message.

Definition at line 90 of file trace.h.


Function Documentation

void rs_error0 char const *  s,
  ...
 

void rs_fatal0 char const *  s,
  ...
 

void rs_log0 int  level,
char const *  fn,
char const *  fmt,
  ...
 

void rs_log0_nofn int  level,
char const *  fmt,
  ...
 

void rs_trace0 char const *  s,
  ...
 


Variable Documentation

int rs_trace_level
 

rs_trace_enabled()

Call this before putting too much effort into generating trace messages.


Generated on Sat Nov 5 17:25:02 2005 for OPIE by  doxygen 1.4.2