MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / attrEscape

Function attrEscape

pmcaptcha/pmcaptcha.ts:30–32  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

28
29// ─── 日志 ─────────────────────────────────────────────────────────────────────
30
31enum LogLevel { INFO = 1, WARN = 2, ERROR = 3 }
32
33function log(level: LogLevel, message: string, data?: any) {
34 const prefix = `[PMCaptcha] [${new Date().toISOString()}] [${LogLevel[level]}]`;
35 data ? console.log(`${prefix} ${message}`, data) : console.log(`${prefix} ${message}`);

Callers 2

userLinkFunction · 0.70
pmcaptchaFunction · 0.70

Calls 1

htmlEscapeFunction · 0.70

Tested by

no test coverage detected