Skip to content

Commit

Permalink
feat: Console.logLevel
Browse files Browse the repository at this point in the history
Update arguments-builder.config.ts
Update boxjs.settings.json
Update response.dev.js
Update request.dev.js
Update database.mjs
Update response.js
Update request.js
Update setENV.mjs
Update types.d.ts
  • Loading branch information
VirgilClyne committed Dec 10, 2024
1 parent 6ac4e9f commit a942404
Show file tree
Hide file tree
Showing 11 changed files with 257 additions and 226 deletions.
15 changes: 15 additions & 0 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,20 @@ export default defineConfig({
type: "boolean",
description: "是否启用此处修改",
},
{
key: "LogLevel",
name: "[调试] 日志等级",
type: "string",
defaultValue: "WARN",
description: "选择脚本日志的输出等级,低于所选等级的日志将全部输出。",
options: [
{ key: "OFF", label: "关闭" },
{ key: "ERROR", label: "❌ 错误" },
{ key: "WARN", label: "⚠️ 警告" },
{ key: "INFO", label: "ℹ️ 信息" },
{ key: "DEBUG", label: "🅱️ 调试" },
{ key: "ALL", label: "全部" },
],
},
],
});
Loading

0 comments on commit a942404

Please sign in to comment.