Class AbstractLogFileAuditLogger

java.lang.Object
hudson.plugins.audit_trail.AuditLogger
hudson.plugins.audit_trail.AbstractLogFileAuditLogger
All Implemented Interfaces:
ExtensionPoint, Describable<AuditLogger>
Direct Known Subclasses:
LogFileAuditLogger, LogFileDailyRotationAuditLogger

public abstract class AbstractLogFileAuditLogger extends AuditLogger
  • Constructor Details

    • AbstractLogFileAuditLogger

      public AbstractLogFileAuditLogger(String log, int count, String logSeparator)
  • Method Details

    • log

      public void log(String event)
      Specified by:
      log in class AuditLogger
    • cleanUp

      public void cleanUp() throws SecurityException
      Description copied from class: AuditLogger
      Clean up any resource used by this logger. For instance if your logger use a InputStream, this is were you should close it.
      Overrides:
      cleanUp in class AuditLogger
      Throws:
      SecurityException - if a security manager exists and if the caller does not have LoggingPermission("control").
    • getLogSeparator

      @NonNull public String getLogSeparator()
    • getLog

      public String getLog()
    • getCount

      public int getCount()
    • getHandler

      public FileHandler getHandler()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object