@Override
  public void log(AuditEvent event) {
    if(isEnabled) {
      eventBus.post(event);
    }
  }
Constructor.

@param auditLogger the audit logger to use
ambari-server/src/main/java/org/apache/ambari/server/audit/AsyncAuditLogger.java