hb-smart-logger 1.0.2 → 1.0.3
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/README.md +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,15 +133,17 @@ File-based logging for production systems
|
|
|
133
133
|
✔ Long-running Node.js services
|
|
134
134
|
|
|
135
135
|
## 🔥 Why HB Smart Logger?
|
|
136
|
-
|
|
137
|
-
Feature
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
136
|
+
|
|
137
|
+
| Feature | `console.log` | `winston` | **HB Smart Logger** |
|
|
138
|
+
|--------|---------------|-----------|---------------------|
|
|
139
|
+
| Daily log rotation | ❌ | ❌ | ✅ |
|
|
140
|
+
| Circular JSON safe | ❌ | ❌ | ✅ |
|
|
141
|
+
| Per-level log files | ❌ | ⚠️ | ✅ |
|
|
142
|
+
| Combined log file | ❌ | ⚠️ | ✅ |
|
|
143
|
+
| `logger.log()` alias | ❌ | ❌ | ✅ |
|
|
144
|
+
| Multi-argument logging | ❌ | ❌ | ✅ |
|
|
145
|
+
| Ready-to-use defaults | ❌ | ⚠️ | ✅ |
|
|
146
|
+
|
|
145
147
|
## 📌 Requirements
|
|
146
148
|
|
|
147
149
|
Node.js >= 14
|
package/package.json
CHANGED