public class LoggingHandler extends Object implements AssetConsumerLoggingInterface
| Constructor and Description |
|---|
LoggingHandler(AuditLog auditLog)
Construct the audit log handler with a link to the property server's connector and this access service's
official name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLogMessageToAsset(String userId,
String assetGUID,
String connectorInstanceId,
String connectionName,
String connectorType,
String contextId,
String message)
Creates an Audit log record for the asset.
|
public LoggingHandler(AuditLog auditLog)
auditLog - connector to the property server.public void addLogMessageToAsset(String userId, String assetGUID, String connectorInstanceId, String connectionName, String connectorType, String contextId, String message)
addLogMessageToAsset in interface AssetConsumerLoggingInterfaceuserId - String - userId of user making request.assetGUID - String - unique id for the asset.connectorInstanceId - String - (optional) id of connector in use (if any).connectionName - String - (optional) name of the connection (extracted from the connector).connectorType - String - (optional) type of connector in use (if any).contextId - String - (optional) function name, or processId of the activity that the caller is performing.message - log record content.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.