MCPcopy Create free account
hub / github.com/Moli-X/Resources / constructor

Method constructor

Script/ydm.js:17–21  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected