@lark-apaas/client-toolkit-lite 1.1.40 → 1.1.41-alpha.20261106094029
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -971,9 +971,13 @@ var typedLogInterceptor = /* @__PURE__ */ __name((originLogger) => ({
|
|
|
971
971
|
});
|
|
972
972
|
}, "log")
|
|
973
973
|
}), "typedLogInterceptor");
|
|
974
|
-
|
|
974
|
+
function shouldInterceptSelectedLogs() {
|
|
975
|
+
return process.env.NODE_ENV !== "production";
|
|
976
|
+
}
|
|
977
|
+
__name(shouldInterceptSelectedLogs, "shouldInterceptSelectedLogs");
|
|
978
|
+
var interceptors = shouldInterceptSelectedLogs() ? [
|
|
975
979
|
typedLogInterceptor
|
|
976
|
-
];
|
|
980
|
+
] : [];
|
|
977
981
|
|
|
978
982
|
// src/logger/logger.ts
|
|
979
983
|
var shouldReportToObservable = process.env.NODE_ENV === "production";
|