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

org.apache.zookeeper.audit

## Class Log4jAuditLogger

- java.lang.Object
- - org.apache.zookeeper.audit.Log4jAuditLogger

- All Implemented Interfaces:
    AuditLogger

      public class Log4jAuditLogger
      extends Object
      implements AuditLogger

  Log4j based audit logger

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Log4jAuditLogger()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `logAuditEvent(AuditEvent auditEvent)` Called to log an audit event.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.zookeeper.audit.AuditLogger

      `initialize`

- - ### Constructor Detail

    - #### Log4jAuditLogger

          public Log4jAuditLogger()

  - ### Method Detail

    - #### logAuditEvent

          public void logAuditEvent(AuditEvent auditEvent)

      Description copied from interface: `AuditLogger`
      Called to log an audit event.
      Specified by:
        `logAuditEvent` in interface `AuditLogger`
      Parameters:
        `auditEvent` - contains all the fields to be logged

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