logLogout static method
Log user logout
Implementation
static Future<void> logLogout({
required String userId,
Map<String, dynamic>? metadata,
}) async {
if (!_config.enabled) return;
final event = AuditEvent(
type: AuditEventType.userLogout,
userId: userId,
metadata: metadata,
);
await _logEvent(event);
}