Class GrpcAuditService
java.lang.Object
tech.skworks.tachyon.plugin.internal.audit.GrpcAuditService
- All Implemented Interfaces:
AuditService
Project Tachyon
Class AuditManager
- Since:
- 1.0.0-SNAPSHOT
- Version:
- 1.0
- Author:
- Jimmy (vSKAH) - 06/04/2026
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GrpcAuditService
-
-
Method Details
-
log
public void log(@NotNull @NotNull String uuid, @NotNull @NotNull String action, @NotNull @NotNull String details) Enqueues an audit log entry. Thread-safe. If the buffer is full, an async emergency flush is triggered and the entry is dropped (logged as SEVERE).- Specified by:
login interfaceAuditService- Parameters:
uuid- The unique identifier (UUID) of the player associated with this event.action- A clear, categorizable identifier for the event (e.g.,"TRADE_ACCEPT","ITEM_DROP","FLAG_TRIGGERED").details- Additional contextual information about the event.
-
shutdown
public void shutdown()
-