Class Slf4jAuditor

java.lang.Object
io.bdeploy.common.audit.Slf4jAuditor
All Implemented Interfaces:
Auditor, AutoCloseable

public class Slf4jAuditor extends Object implements Auditor
A auditor implementation that is using a logger to write the audit records.
  • Constructor Details

    • Slf4jAuditor

      public Slf4jAuditor()
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface Auditor
      Specified by:
      close in interface AutoCloseable
    • audit

      public void audit(AuditRecord rec)
      Description copied from interface: Auditor
      Stores the given audit record.
      Specified by:
      audit in interface Auditor
      Parameters:
      rec - record to write