Package io.bdeploy.common.audit
Interface Auditor
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
NullAuditor,Slf4jAuditor
A
Auditor is responsible for persisting AuditRecords.-
Method Summary
Modifier and TypeMethodDescriptionvoidaudit(AuditRecord rec) Stores the given audit record.voidclose()
-
Method Details
-
audit
Stores the given audit record.- Parameters:
rec- record to write
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-