macro_rules! track_stub_log {
($level:expr, TODO($bug_url:literal), $message:expr, $flags:expr $(,)?) => { ... };
($level:expr, TODO($bug_url:literal), $message:expr $(,)?) => { ... };
}Expand description
Tracks a stubbed implementation with a specified log level.
This macro records that a stub was encountered so that it may be surfaced in inspect. The first time a particular stub is encountered, a log message will be emitted at the specified level.
Example:
track_stub_log!(log::Level::Warn, TODO("https://fxbug.dev/12345"), "my component is not implemented");