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 package-lock.json
Update response.dev.js
Update database.mjs
Update package.json
Update response.js
Update setENV.mjs
Update types.d.ts
  • Loading branch information
VirgilClyne committed Dec 10, 2024
1 parent c00de16 commit 4a4b1d8
Show file tree
Hide file tree
Showing 12 changed files with 368 additions and 321 deletions.
15 changes: 15 additions & 0 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,20 @@ export default defineConfig({
placeholder: "123456789123456789abcdefghijklmnopqrstuv",
description: "WAQI API 令牌,填写此字段将自动使用WAQI高级API",
},
{
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 4a4b1d8

Please sign in to comment.