(name)
| 15 | // 初始化环境类,用于兼容不同代理工具(Quantumult X、Surge 等) |
| 16 | class Env { |
| 17 | constructor(name) { |
| 18 | this.name = name; |
| 19 | this.logs = []; |
| 20 | this.logLevel = "info"; |
| 21 | } |
| 22 | |
| 23 | // 日志输出 |
| 24 | log(message) { |
nothing calls this directly
no outgoing calls
no test coverage detected