Interface IAuditLogger

All Known Implementing Classes:
BinAuditLogger, DiagnosticEventAuditLogger, FileAuditLogger, NoOpAuditLogger

public interface IAuditLogger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    log(AuditLogEntry auditLogEntry)
    Logs AuditLogEntry.
    void
    Stop and cleanup any resources of IAuditLogger implementations.
  • Method Details

    • isEnabled

      boolean isEnabled()
    • log

      void log(AuditLogEntry auditLogEntry)
      Logs AuditLogEntry. This method might be called after stop(), hence implementations need to handle the race condition.
    • stop

      void stop()
      Stop and cleanup any resources of IAuditLogger implementations. Please note that log(AuditLogEntry) might be called after being stopped.