DB Link
API Reference Guide
Product Documentation:

Visualization DB Link
Documentation Home
Functions
ildtrace.h File Reference

Functions

IldTraceContextIldSetTraceContext (IlUShort lvl, IL_STDPREF ostr)
 Create a new context using the given arguments. More...
 
int IldSetTraceLevel (IlUShort lvl)
 Set the level of tracing in the context. More...
 
int IldSetTraceStream (IL_STDPREF ostream *ostr)
 Sets the output stream of the context. More...
 

Detailed Description

Library: dbkernel
Declaration of trace mechanism structure and functions.

Function Documentation

◆ IldSetTraceContext()

IldTraceContext* IldSetTraceContext ( IlUShort  lvl,
IL_STDPREF  ostr 
)

Create a new context using the given arguments.

Parameters
lvlThe trace level.
ostrThe output stream to use.

If a context exists, it is first destroyed.

◆ IldSetTraceLevel()

int IldSetTraceLevel ( IlUShort  lvl)

Set the level of tracing in the context.

Parameters
lvlThe trace level to set.
Returns
0 if no context exists or the level is not a combination of the authorized values; 1 otherwise.

Setting the trace level to IldTraceNone destroys the context.

◆ IldSetTraceStream()

int IldSetTraceStream ( IL_STDPREF ostream *  ostr)

Sets the output stream of the context.

Parameters
ostrThe output stream to use.
Returns
0 if no context exists, 1 otherwise.