Vtk_CloseLogCallback
Toolkit Reference

prevnext

Vtk_CloseLogCallback

typedef void (VTK_CALLBACK *Vtk_CloseLogCallback)
(
const Vtk_Ctxt *pCtxt,
void* userHdl
);

Description

This callback function is used to close the log output stream.

When the Toolkit closes logging or the application calls Vtk_CloseLog, the Toolkit calls this callback to close all resources opened in Vtk_OpenLogCallback.

Parameters
pCtxt A pointer to the Toolkit context.
userHdl The value set in the Vtk_OpenLogCallback function, which specifies the application specific output structure.

Return Value

None

Notes
To override the default logging mechanism, use this function to close all open resources initialized by the Vtk_OpenLogCallback function.
To override the default logging mechanism, you must provide the Vtk_WriteLogCallback, Vtk_OpenLogCallback and Vtk_CloseLogCallback functions.

See Also

Vtk_CloseLog

Vtk_OpenLogCallback

Vtk_WriteLogCallback

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com