Class AuditLogDestination
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
AuditLogDestination provides the support to push audit log records to the desired locations
for either storage or processing.
-
Constructor Summary
ConstructorsConstructorDescriptionAuditLogDestination(Map<String, String> originatorProperties) The normal constructor takes the description of the process/server that is using the audit log. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddLogRecord(AuditLogRecord logRecord) Log an audit log record for an event, decision, error, or exception detected by the open metadata services.Return the map of properties used to describe the originator process/server.
-
Constructor Details
-
AuditLogDestination
The normal constructor takes the description of the process/server that is using the audit log. It is added to every log record.- Parameters:
originatorProperties- map of name-value pairs
-
-
Method Details
-
getOriginatorProperties
Return the map of properties used to describe the originator process/server.- Returns:
- map of name-value pairs
-
addLogRecord
Log an audit log record for an event, decision, error, or exception detected by the open metadata services.- Parameters:
logRecord- the log record
-