@lark-apaas/nestjs-logger 0.1.0-alpha.7 → 0.1.0-alpha.9
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/LICENSE +0 -13
package/dist/index.js
CHANGED
|
@@ -14828,15 +14828,15 @@ var LoggingInterceptor = class {
|
|
|
14828
14828
|
const req = httpContext.getRequest();
|
|
14829
14829
|
const res = httpContext.getResponse();
|
|
14830
14830
|
const method = req.method;
|
|
14831
|
-
const
|
|
14831
|
+
const path = req.path;
|
|
14832
14832
|
this.requestContext.setContext({
|
|
14833
14833
|
method,
|
|
14834
|
-
path
|
|
14834
|
+
path
|
|
14835
14835
|
});
|
|
14836
14836
|
const startedAt = Date.now();
|
|
14837
14837
|
const baseMeta = {
|
|
14838
14838
|
method,
|
|
14839
|
-
path
|
|
14839
|
+
path,
|
|
14840
14840
|
trace_id: req.requestId ?? req.id,
|
|
14841
14841
|
user_id: req.userContext?.userId ?? null,
|
|
14842
14842
|
tenant_id: req.userContext?.tenantId ?? null,
|