diff --git a/fish-rust/src/flog.rs b/fish-rust/src/flog.rs index a722feb3f..4e1f3ddeb 100644 --- a/fish-rust/src/flog.rs +++ b/fish-rust/src/flog.rs @@ -191,10 +191,9 @@ macro_rules! FLOG { }; } -// TODO implement. macro_rules! FLOGF { - ($category:ident, $($elem:expr),+ $(,)*) => { - crate::flog::FLOG!($category, $($elem),*); + ($category:ident, $fmt: expr, $($elem:expr),+ $(,)*) => { + crate::flog::FLOG!($category, sprintf!($fmt, $($elem),*)); } }