syntropylog 0.12.6 → 0.12.7
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 +33 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -25,9 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
## What is SyntropyLog?
|
|
27
27
|
|
|
28
|
-
SyntropyLog is a **structured observability framework** for Node.js.
|
|
28
|
+
SyntropyLog is a **structured observability framework** designed specifically for **Node.js** applications. Its primary goal is to let you declare what information your logs should carry automatically, guaranteeing performance and regulatory compliance at all times.
|
|
29
29
|
|
|
30
|
-
It is built for **high
|
|
30
|
+
It is purpose-built for **high-demand** and **highly regulated** environments (such as banking, healthcare, or fintech), where data control and system resilience are critical.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
### What is it for?
|
|
35
|
+
|
|
36
|
+
In traditional applications, logs can be heavy, hard to trace, or contain sensitive information (like passwords or personal data) that violates regulations like GDPR or HIPAA.
|
|
37
|
+
|
|
38
|
+
SyntropyLog solves this by allowing you to:
|
|
39
|
+
1. **Control what is shown:** Define what context fields are included at each log level.
|
|
40
|
+
2. **Protect sensitive data:** Redact passwords, emails, etc., before the log leaves the system.
|
|
41
|
+
3. **Prevent application crashes:** Fail-safe processing pipeline (circular refs, depth limits, Rust addon).
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### Key Concepts
|
|
46
|
+
|
|
47
|
+
| Concept | What it does |
|
|
48
|
+
| :--- | :--- |
|
|
49
|
+
| **Native Addon (Rust)** | Optional Rust module that processes logs at maximum speed (serialize + mask + sanitize). |
|
|
50
|
+
| **Logging Matrix** | Declarative config defining context field visibility per log level. <br/>**Important:** Only fields/headers declared in the initial context configuration are processed. |
|
|
51
|
+
| **MaskingEngine** | Real-time redaction of sensitive fields with rules/regex. <br/>**Config:** Enable default rules or define custom replacement patterns. |
|
|
52
|
+
| **Universal Adapter** | Send logs to any backend with a single `executor`, avoiding vendor lock-in. |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
### Main Benefits
|
|
57
|
+
|
|
58
|
+
* **Extreme Performance:** Rust addon makes logging light on Node.js CPU.
|
|
59
|
+
* **Direct Compliance:** Facilitates audits (SOX, GDPR, PCI-DSS) with `audit` level and retention policies.
|
|
60
|
+
* **Active Security:** Sanitizes strings to prevent Log Injection attacks.
|
|
61
|
+
* **Traceability:** Manages `Correlation ID` and `Transaction ID` automatically.
|
|
31
62
|
|
|
32
63
|
---
|
|
33
64
|
|