public class OMRSAuditLogDestination extends AuditLogDestination
originatorProperties| Constructor and Description |
|---|
OMRSAuditLogDestination(String localServerName,
String localServerType,
String localOrganizationName,
List<OMRSAuditLogStore> auditLogStores)
Initialize the static values used in all log records.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLogRecord(AuditLogRecord logRecord)
Log an audit log record for an event, decision, error, or exception detected by the
open metadata services.
|
void |
setLocalMetadataCollectionId(String localMetadataCollectionId)
Set up the local metadata collection Id.
|
getOriginatorPropertiespublic OMRSAuditLogDestination(String localServerName, String localServerType, String localOrganizationName, List<OMRSAuditLogStore> auditLogStores)
localServerName - name of the local serverlocalServerType - type of the local serverlocalOrganizationName - name of the organization that owns the local serverauditLogStores - list of destinations for the audit log recordspublic void setLocalMetadataCollectionId(String localMetadataCollectionId)
localMetadataCollectionId - String unique identifier for the metadata collectionpublic void addLogRecord(AuditLogRecord logRecord)
addLogRecord in class AuditLogDestinationlogRecord - the log recordCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.