/home/gian/Progetti/falcon/core/include/falcon/trace.h File Reference

#include <stdio.h>
#include <falcon/setup.h>

Include dependency graph for trace.h:

Go to the source code of this file.

Defines

#define MESSAGE(fmt)   if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__ );
#define TRACE(fmt,...)   if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__, __VA_ARGS__ );
#define TRACE_OFF   fclose(_falcon_trace_fp); _falcon_trace_fp = 0;
#define TRACE_ON(name)   _falcon_trace_fp = fopen( name, "w" );
#define TRACEVAR(type, var)   if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: %s=%" type "\n", __FILE__, __LINE__, #var, var );

Variables

FALCON_DYN_SYM FILE * _falcon_trace_fp


Define Documentation

#define MESSAGE ( fmt   )     if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__ );

#define TRACE ( fmt,
...   )     if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__, __VA_ARGS__ );

#define TRACE_OFF   fclose(_falcon_trace_fp); _falcon_trace_fp = 0;

#define TRACE_ON ( name   )     _falcon_trace_fp = fopen( name, "w" );

#define TRACEVAR ( type,
var   )     if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: %s=%" type "\n", __FILE__, __LINE__, #var, var );


Variable Documentation

FALCON_DYN_SYM FILE* _falcon_trace_fp


Generated on Mon Oct 19 10:11:25 2009 for Falcon_Core by  doxygen 1.5.8