Vtk_OpenLog
Toolkit Reference

prevnext

Vtk_OpenLog

include <vtk_error.h>
include <vtk_defs.h>
Vtk_uint32 Vtk_OpenLog(
Vtk_Ctxt *pCtxt, /* input */
const Vtk_LogOptions *pLogOptions
/* input */
);

Description

This function initializes and commences logging for the specified Toolkit context.

If no user defined callback was specified, a text log file is opened with the name and mode set in log options.

Parameters
pCtxt A pointer to the Toolkit context.
pLogOptions Log options (see the data structure Vtk_LogOptions for details).

Return Value
VTK_OK The function has completed successfully.
error code The function has failed. For information about possible error values, refer to Appendix 

Notes

None

See Also

Vtk_LogOptions

Vtk_OpenLogCallback

Vtk_CloseLog

Vtk_WriteLog

prevnext


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