Package hudson.plugins.audit_trail
Class AuditLogger
java.lang.Object
hudson.plugins.audit_trail.AuditLogger
- All Implemented Interfaces:
ExtensionPoint
,Describable<AuditLogger>
- Direct Known Subclasses:
AbstractLogFileAuditLogger
,ConsoleAuditLogger
,ElasticSearchAuditLogger
,SyslogAuditLogger
public abstract class AuditLogger
extends Object
implements Describable<AuditLogger>, ExtensionPoint
- Author:
- Nicolas De Loof, Pierre Beitz
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all the registeredAuditLogger
descriptors.void
cleanUp()
Clean up any resource used by this logger.abstract void
-
Constructor Details
-
AuditLogger
public AuditLogger()
-
-
Method Details
-
log
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<AuditLogger>
-
cleanUp
Clean up any resource used by this logger. For instance if your logger use a InputStream, this is were you should close it.- Throws:
SecurityException
- if a security manager exists and if the caller does not haveLoggingPermission("control")
.
-
all
Returns all the registeredAuditLogger
descriptors.
-