#Failed command logging

3 messages · Page 1 of 1 (latest)

winter dock
#

Is there a way for failed #[tauri::command] calls to be logged in the Tauri dev terminal?

wheat hinge
#

Not builtin (yet) but you can use tracing::instrument on your command functions which will automatically emit tracing events when entering and leaving a function

#

and then just add a tracing subscriber or just a regular log subscriber