1 2//! Replace the long Tauri app-data prefix with `$APP` so 3//! `Trace=short` lines stay readable. 4 5use crate::IPC::DevLog::AppDataPrefix; 6 7pub fn Fn(Input:&str) -> String { 8 if let Some(Prefix) = AppDataPrefix::Fn() { 9 Input.replace(Prefix, "$APP") 10 } else { 11 Input.to_string() 12 } 13}