feat: do not modify the console.log function

未關閉
#28 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
typescript
領域
devtools

研究方向

Start by inspecting requestly-web-sdk.js, where the issue reports that the console.log reference is modified. Determine how that modification affects source locations and whether an existing option controls it; done means normal console.log output preserves the caller's file and line information without disrupting the SDK.

由索引模型根據 Issue 內容生成。

描述

migration:misfiled-interceptor

First of all, thank you for your excellent work.


Image

do not modify the console.log function, as it interferes with the normal development work of a front-end developer.

I noticed that in requestly-web-sdk.js, the reference to console.log is modified, causing all log locations on the right side of the logs to be changed to requestly-web-sdk.js:4907

As a result, I cannot determine which file my code logs are output from

Additionally, I have not found an option to disable this feature

May I ask what the purpose of modifying the console.log reference is ?

主要語言
TypeScript
星號
106
分支
27
平均合併
7 天 6 小時
30 天內合併 PR
1

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

requestly/interceptor 的其他 Issue

查看 requestly/interceptor 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。