Update cargo.toml file with:
toml
[dependencies]
log = "0.4"
tauri-plugin-log = { git = "https://github.com/tauri-apps/tauri-plugin-log" }
Use the macros provided by the log crate to log messages from your backend. You can use error!, warn!, info!, debug!, and trace! macros to log messages at different levels.
Update cargo.toml file with:
Use the macros provided by the log crate to log messages from your backend. You can use
error!,warn!,info!,debug!, andtrace!macros to log messages at different levels.