unnbound-logger-sdk 1.1.2 → 1.1.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/dist/unnbound-logger.js +5 -0
- package/package.json +1 -1
package/dist/unnbound-logger.js
CHANGED
|
@@ -138,6 +138,11 @@ class UnnboundLogger {
|
|
|
138
138
|
...(this.environment && { environment: this.environment }),
|
|
139
139
|
},
|
|
140
140
|
timestamp: () => `,"timestamp":"${new Date().toISOString()}"`,
|
|
141
|
+
formatters: {
|
|
142
|
+
level: (label) => {
|
|
143
|
+
return { level: label };
|
|
144
|
+
},
|
|
145
|
+
},
|
|
141
146
|
});
|
|
142
147
|
}
|
|
143
148
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unnbound-logger-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A structured logging library with TypeScript support using Pino. Provides consistent, well-typed logging across different operational contexts with automatic trace ID propagation.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|