@lark-apaas/nestjs-logger 0.1.0-alpha.7 → 0.1.0-alpha.8
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/LICENSE +0 -13
package/dist/index.cjs
CHANGED
|
@@ -14839,7 +14839,7 @@ var LoggingInterceptor = class {
|
|
|
14839
14839
|
const req = httpContext.getRequest();
|
|
14840
14840
|
const res = httpContext.getResponse();
|
|
14841
14841
|
const method = req.method;
|
|
14842
|
-
const
|
|
14842
|
+
const path = req.path;
|
|
14843
14843
|
this.requestContext.setContext({
|
|
14844
14844
|
method,
|
|
14845
14845
|
path: url
|
|
@@ -14847,7 +14847,7 @@ var LoggingInterceptor = class {
|
|
|
14847
14847
|
const startedAt = Date.now();
|
|
14848
14848
|
const baseMeta = {
|
|
14849
14849
|
method,
|
|
14850
|
-
path
|
|
14850
|
+
path,
|
|
14851
14851
|
trace_id: req.requestId ?? req.id,
|
|
14852
14852
|
user_id: req.userContext?.userId ?? null,
|
|
14853
14853
|
tenant_id: req.userContext?.tenantId ?? null,
|