fmt!() { /* proc-macro */ }Expand description
Like core::format_args!, but automatically wraps arguments in kernel::fmt::Adapter.
This macro allows generating fmt::Arguments while ensuring that each argument is wrapped with
::kernel::fmt::Adapter, which customizes formatting behavior for kernel logging.
Named arguments used in the format string (e.g. {foo}) are detected and resolved from local
bindings. All positional and named arguments are automatically wrapped.
This macro is an implementation detail of other kernel logging macros like pr_info! and
should not typically be used directly.