int tsmPutLog ( TsmHandle *tsmh, Pyramid *pyramid, const char *event_name, const char *data, ... )

Log an event for old tsmApi interface

Documentation

Log an event for old tsmApi interface.

This function is provided to support logging of tile statistics in the old server-based tsmApi interface. If you use tsmOpen and tsmGetPyramid to query a tileset, then you can use this function to access the logging facilities of tsmApi.

This function is provides the same functionality as the connection-based call, tsmLog. Please refer to the documentation for that call for further details.

Returns:
TRUE if data was logged successfully, FALSE if failed.
Parameters:
tsmh - a TSM session handle, as returned by tsmOpen
pyramid - a Pyramid tspec structure, as returned by tsmGetPyramid
event_name - a string describing the event being logged
a - printf style string specifying the data to be logged for the event
Author:
Martin Reddy
Version:
22 May 1998
See Also:
tsmStopLogging, tsmEndLogging, tsmLog


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page