-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'd like to use log-derive to log a specific input to this function, but I don't want to grab the other two arguments.
Ideally, I think I'd like to write:
#[logfn_inputs(Trace, fmt = "Resolving {}", args(order))]
pub fn resolve(
&mut self,
context: &'a ResolverContext<'a>,
order: &'a MappedMainOrder,
)
However, being able to skip arguments would also work. It's not quite as simple as being able to skip self
since I also don't want to log the context
. Is this something that's aligned with log-derive
, or should I use a normal macro instead?
DmitrySamoylov, LLBlumire, synek317, epkugelmass and humb1t
Metadata
Metadata
Assignees
Labels
No labels