AuditLogger (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.audit

## Interface AuditLogger

- All Known Implementing Classes:
    Log4jAuditLogger

      public interface AuditLogger

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `initialize()` Called during initialization of the logger.
    `void` | `logAuditEvent(AuditEvent auditEvent)` Called to log an audit event.

- - ### Method Detail

    - #### initialize

          default void initialize()

      Called during initialization of the logger.

    - #### logAuditEvent

          void logAuditEvent(AuditEvent auditEvent)

      Called to log an audit event.
      Parameters:
        `auditEvent` - contains all the fields to be logged

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.