Classes | |
| class | xmog_tracer |
| An interface that provides a tracing facility for the runtime library. More... | |
Typedefs | |
| typedef void(JNICALL * | XMOG_TRACE )(FILE *fpTrace, int traceLevel, const char *format, va_list args) |
| A function type that can be used to trace to arbitrary file handles. | |
Enumerations | |
| enum | xmog_trace_facility { TraceNothing = 0, TraceJvm = 1, TraceThread = 2, TraceJni = 4, TraceRemote = 8, TraceAll = 15, TraceEverything = 15 } |
| Tracing facilities for the runtime. | |
| enum | xmog_trace_level { TraceDisabled = 0, TraceErrors = 1, TraceError = 1, TraceWarnings = 2, TraceInfo = 3, TraceFinest = 4, TraceVerbose = 4, TraceUnconditional = 5 } |
| Tracing levels for the runtime. | |
Functions | |
| XMOG_DECLSPEC void JNICALL | traceOutputDebugString (FILE *fpTrace, int traceLevel, const char *format, va_list args) |
| A tracing entry point that can be specified by name. | |
| XMOG_DECLSPEC void JNICALL | traceEventLog (FILE *fpTrace, int traceLevel, const char *format, va_list args) |
| A tracing entry point that can be specified by name. | |
stderr. You can change that behavior by supplying a filename or a custom trace method that will be called instead of the default method. The runtime library contains several alternate implementations of tracing methods that can for example write the output to the Windows event log or to a debugger window.
You can supply your own function by passing a function pointer to the xmog_options::setTraceMethod() function or by specifying a string'ized function pointer in the configuration. A string'ized function pointer is of the form:
[ <libraryname> ; ] <functionname>
If you just supply the functionname, the trace method will be looked for in the runtime library.
|
|
A function type that can be used to trace to arbitrary file handles.
|
|
||||||||||||||||||||
|
A tracing entry point that can be specified by name. This tracing method is really only useful on Windows where it ignores the file argument and prints the resulting trace message to the Windows event log.
On all other platforms, this method is implemented be printing to
|
|
||||||||||||||||||||
|
A tracing entry point that can be specified by name.
This tracing method is really only useful on Windows where it ignores the file argument and prints the resulting trace message to the
On all other platforms, this method is implemented be printing to
|
1.4.1