Group CLoggingEventData¶
The functions in this section allow for the retrieval of logging event data.
Public Functions¶
| Type | Name |
|---|---|
| spinLogDataGetCategoryName (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
|
| spinLogDataGetLogMessage (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
|
| spinLogDataGetNDC (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
|
| spinLogDataGetPriority (spinLogEventData hLogEventData, int64_t * pValue) |
|
| spinLogDataGetPriorityName (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
|
| spinLogDataGetThreadName (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
|
| spinLogDataGetTimestamp (spinLogEventData hLogEventData, char * pBuf, size_t * pBufLen) |
Public Functions Documentation¶
function spinLogDataGetCategoryName¶
Retrieves the category name of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the category name of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetLogMessage¶
Retrieves the log message of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the log message of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetNDC¶
Retrieves the NDC of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the NDC of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetPriority¶
Retrieves the priority of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpValueThe integer pointer in which the priority value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetPriorityName¶
Retrieves the priority name of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the priority name of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetThreadName¶
Retrieves the thread name of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the thread name of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinLogDataGetTimestamp¶
Retrieves the timestamp of a log event
See also: spinError
Parameters:
hLogEventDataThe log event data received from the log eventpBufThe c-string character buffer in which the timestamp of the log event is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error