Could this become something like 
```rust
let name = task.name.map(|s| s.as_slice()).unwrap_or("<unnamed>"); 
format_args!(|arg| { ... }, "...", name, msg, file, line);
```