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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated documentation: clarified that the `audit` log level is immune to log level filtering and is always written.
8
+
3
9
  ## 0.12.7
4
10
 
5
11
  ### Patch Changes
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.info({ userId: 123, action: 'payment' }, 'Payment processed');
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syntropylog",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },