chore: 添加远程桌面控制组件、文档和构建产物

This commit is contained in:
2026-03-13 16:04:21 +08:00
parent 67a19d486b
commit 8bb2e643d8
36 changed files with 7280 additions and 582 deletions

View File

@@ -0,0 +1,15 @@
// api/utils/logger.ts
var createLogger = () => {
const isProd = process.env.NODE_ENV === "production";
const debug = isProd ? () => {
} : console.debug.bind(console);
const info = console.info.bind(console);
const warn = console.warn.bind(console);
const error = console.error.bind(console);
return { debug, info, warn, error };
};
var logger = createLogger();
export {
logger
};