hb-smart-logger 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +19 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -87,16 +87,16 @@ logs/
87
87
  ```
88
88
 
89
89
  ## 📂 What Goes Where?
90
-
91
- ## Log Level ## Files Written
92
- **log() / info()**
93
- logs/info/ + logs/combined/
94
- **warn()**
95
- logs/warn/ + logs/combined/
96
- **error()**
97
- logs/error/ + logs/combined/
98
- **debug()**
99
- logs/debug/ + logs/combined/
90
+ ```bash
91
+ log() / info()
92
+ logs/info/ + logs/combined/
93
+ warn()
94
+ logs/warn/ + logs/combined/
95
+ error()
96
+ logs/error/ + logs/combined/
97
+ debug()
98
+ logs/debug/ + logs/combined/
99
+ ```
100
100
 
101
101
  ## 🔄 Log Rotation (Built-In)
102
102
 
@@ -133,14 +133,15 @@ File-based logging for production systems
133
133
  ✔ Long-running Node.js services
134
134
 
135
135
  ## 🔥 Why HB Smart Logger?
136
- Feature console.log Winston HB Smart Logger
137
- Daily rotation ❌ ❌ ✅
138
- Circular JSON safe
139
- Per-level files ⚠️
140
- Combined logs ⚠️
141
- logger.log() alias
142
- Ready-to-use ⚠️
143
-
136
+ ```bash
137
+ Feature console.log Winston HB Smart Logger
138
+ Daily rotation
139
+ Circular JSON safe
140
+ Per-level files ⚠️
141
+ Combined logs ⚠️
142
+ logger.log() alias
143
+ Ready-to-use ❌ ⚠️ ✅
144
+ ```
144
145
  ## 📌 Requirements
145
146
 
146
147
  Node.js >= 14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hb-smart-logger",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Production-ready Winston logger with daily rotation, safe JSON handling, and logger.log() alias",
5
5
  "main": "src/index.js",
6
6
  "publishConfig": { "access": "public" },