GUI: support change log level when running (#153)

This commit is contained in:
Sijie.Sun
2024-07-06 17:18:13 +08:00
committed by GitHub
parent 571d4a6e8f
commit 7cfa850d4c
10 changed files with 444 additions and 40 deletions

View File

@@ -24,3 +24,7 @@ export async function getOsHostname() {
export async function setAutoLaunchStatus(enable: boolean) {
return await invoke<boolean>('set_auto_launch_status', { enable })
}
export async function setLoggingLevel(level: string) {
return await invoke('set_logging_level', { level })
}