feat: app log level add silent

This commit is contained in:
GyDi
2023-07-22 09:25:54 +08:00
parent aadfaf7150
commit 6b0ca2966e
3 changed files with 11 additions and 7 deletions

View File

@@ -83,9 +83,9 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
}));
}}
>
{["trace", "debug", "info", "warn", "error"].map((i) => (
{["trace", "debug", "info", "warn", "error", "silent"].map((i) => (
<MenuItem value={i} key={i}>
{i}
{i[0].toUpperCase() + i.slice(1).toLowerCase()}
</MenuItem>
))}
</Select>