IBM Tivoli Software IBM Tivoli Software

[ Bottom of Page | Previous Page | Next Page | Contents | Index ]


Logging

The following methods help you to express functions for data logging.

Method LogInstEx

Syntax
Object.LogInstEx(contextName As String, 
Resource As String, mapHndl As Integer)
Parameters
context
The logging context.
pResource
The resource to which the attributes refer.
mapHndl
The handle of a mapping table returned by a call to CreateMap that contains all the keys required to set the logging attributes.
Description
This method logs the attributes of the resource named Resource in the given context.
Remarks
The context and the resource must be previously defined through a DefineLogInst in the SetDefaultConfiguration Subroutine. The mapping table associated with the handle mapHndl must contain as keys all the attributes defined for the given logging context.
Error codes

TMWSERVICE_E_MAP_KEY_NOT_FOUND
TMWSERVICE_E_ANALYZER_EVENT_NOT_GOT
TMWSERVICE_E_SPAWN_EVENT_FAILED
TMWSERVICE_E_EVENT_NOT_DECLARED
TMWSERVICE_E_EVENT_PROP_NOT_FOUND
TMWSERVICE_E_EVENT_INDICATION_FAILED
S_OK

[ Top of Page | Previous Page | Next Page | Contents | Index ]