public abstract class AbstractEventLogger extends Object
Modifier and Type | Field and Description |
---|---|
CatalogManager |
catalogManager |
Modifier | Constructor and Description |
---|---|
protected |
AbstractEventLogger() |
protected |
AbstractEventLogger(int maxLength) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttributeNames(String eventId) |
void |
logEvent(String eventName,
Map<String,String> attributes) |
void |
logEvent(String eventName,
Map<String,String> attributes,
AuditExceptionHandler exceptionHandler) |
void |
logEvent(String eventName,
String catalogId,
Map<String,String> attributes) |
protected abstract void |
logEvent(org.apache.logging.log4j.message.StructuredDataMessage message) |
void |
setCatalogManager(CatalogManager catalogManager) |
void |
setDefaultAuditExceptionHandler(AuditExceptionHandler auditExceptionHandler) |
public CatalogManager catalogManager
protected AbstractEventLogger()
protected AbstractEventLogger(int maxLength)
public void setCatalogManager(CatalogManager catalogManager)
public void setDefaultAuditExceptionHandler(AuditExceptionHandler auditExceptionHandler)
public void logEvent(String eventName, Map<String,String> attributes, AuditExceptionHandler exceptionHandler)
protected abstract void logEvent(org.apache.logging.log4j.message.StructuredDataMessage message)
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.