syntropylog 0.12.7 → 0.12.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -426,7 +426,7 @@ const auditLogger = log
|
|
|
426
426
|
.withSource('PaymentService')
|
|
427
427
|
.withRetention({ policy: 'SOX_AUDIT_TRAIL', years: 5 });
|
|
428
428
|
|
|
429
|
-
auditLogger.
|
|
429
|
+
auditLogger.audit({ userId: 123, action: 'payment' }, 'Payment processed');
|
|
430
430
|
// Entry includes source and retention; your executor can route by retention.policy
|
|
431
431
|
```
|
|
432
432
|
|