Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

xmog_tracer Class Reference
[Tracing Facility]

An interface that provides a tracing facility for the runtime library. More...

#include <xmog_tracer.h>

Inheritance diagram for xmog_tracer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void trace (int fac, xmog_trace_level level, const char *format,...)=0
 Trace a message if its level at the configured facility is appropriate.
virtual void trace (xmog_trace_facility fac, xmog_trace_level level, const char *format,...)=0
 Trace a message if its level at the configured facility is appropriate.

Static Public Member Functions

static void JNICALL traceOutputDebugString (FILE *fpTrace, int traceLevel, const char *format, va_list args)
 Trace a message using the Windows platform API DebugOutputString function.
static void JNICALL traceEventLog (FILE *fpTrace, int traceLevel, const char *format, va_list args)
 Trace a message using the Windows event log.

Detailed Description

An interface that provides a tracing facility for the runtime library.

This interface declares two equivalent methods that allow the tracing of arbitrary messages belonging to one or more of the xmog_trace_facility categories.


Member Function Documentation

virtual void xmog_tracer::trace xmog_trace_facility  fac,
xmog_trace_level  level,
const char *  format,
  ...
[pure virtual]
 

Trace a message if its level at the configured facility is appropriate.

Parameters:
fac the facilty to which this message applies.
level the trace level.
format the format string. This is a string supporting the printf style of arguments.

Implemented in xmog_options.

virtual void xmog_tracer::trace int  fac,
xmog_trace_level  level,
const char *  format,
  ...
[pure virtual]
 

Trace a message if its level at the configured facility is appropriate.

Parameters:
fac the bitwise or'ed facilties to which this message applies.
level the trace level.
format the format string. This is a string supporting the printf style of arguments.

Implemented in xmog_options.

static void JNICALL xmog_tracer::traceEventLog FILE *  fpTrace,
int  traceLevel,
const char *  format,
va_list  args
[static]
 

Trace a message using the Windows event log.

Parameters:
fpTrace not used in this function.
traceLevel the tracing level for the message.
format the message format.
args the variable list arguments.

static void JNICALL xmog_tracer::traceOutputDebugString FILE *  fpTrace,
int  traceLevel,
const char *  format,
va_list  args
[static]
 

Trace a message using the Windows platform API DebugOutputString function.

Parameters:
fpTrace not used in this function.
traceLevel the tracing level for the message.
format the message format.
args the variable list arguments.


The documentation for this class was generated from the following file:
Generated on Wed May 31 14:01:35 2006 for Shared Codemesh Runtime Library API Reference by  doxygen 1.4.1