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

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

No files matched your search

+4
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 })
}