chore: adjust log field

This commit is contained in:
GyDi
2022-03-02 01:13:31 +08:00
parent a8ff67e3b8
commit 28e8aa9111
2 changed files with 15 additions and 12 deletions

View File

@@ -128,8 +128,8 @@ impl Clash {
tauri::async_runtime::spawn(async move {
while let Some(event) = rx.recv().await {
match event {
CommandEvent::Stdout(line) => log::info!("[stdout]: {}", line),
CommandEvent::Stderr(err) => log::error!("[stderr]: {}", err),
CommandEvent::Stdout(line) => log::info!("[clash]: {}", line),
CommandEvent::Stderr(err) => log::error!("[clash]: {}", err),
_ => {}
}
}