Codemesh Runtime v3 C++ API Reference
3.9.205
|
An interface that provides a tracing facility for the runtime library. More...
#include <xmog_tracer.h>
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. More... | |
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. More... | |
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. More... | |
static void JNICALL | traceEventLog (FILE *fpTrace, int traceLevel, const char *format, va_list args) |
Trace a message using the Windows event log. More... | |
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.
|
pure virtual |
Trace a message if its level at the configured facility is appropriate.
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.
|
pure virtual |
Trace a message if its level at the configured facility is appropriate.
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.
|
static |
Trace a message using the Windows event log.
fpTrace | not used in this function. |
traceLevel | the tracing level for the message. |
format | the message format. |
args | the variable list arguments. |
|
static |
Trace a message using the Windows platform API DebugOutputString
function.
fpTrace | not used in this function. |
traceLevel | the tracing level for the message. |
format | the message format. |
args | the variable list arguments. |