@logtape/drizzle-orm 1.4.0-dev.446 → 1.4.0-dev.460
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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -89,16 +89,16 @@ Structured logging
|
|
|
89
89
|
|
|
90
90
|
The adapter logs queries with structured data that includes:
|
|
91
91
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
92
|
+
- `formattedQuery`: The query with parameter placeholders (e.g., `$1`, `$2`)
|
|
93
|
+
replaced with actual values for easier reading
|
|
94
|
+
- `query`: The original query string with placeholders
|
|
95
|
+
- `params`: The original parameters array
|
|
96
96
|
|
|
97
97
|
This allows you to:
|
|
98
98
|
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
99
|
+
- Get human-readable output with text formatters
|
|
100
|
+
- Get machine-parseable output with JSON Lines formatter
|
|
101
|
+
- Use full query and params data with OpenTelemetry, Sentry, and other sinks
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
Docs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logtape/drizzle-orm",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.460+d1277bb0",
|
|
4
4
|
"description": "Drizzle ORM adapter for LogTape logging library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"logging",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dist/"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@logtape/logtape": "^1.4.0-dev.
|
|
55
|
+
"@logtape/logtape": "^1.4.0-dev.460+d1277bb0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@alinea/suite": "^0.6.3",
|