-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi,
Short summary:
Instead of
DEBUG "Got here with " . $foo;
or even
DEBUG "Got here with " . Dumper $foo;
or even
DEBUG sprintf "Got here with %s", Dumper $foo;
It might be nicer to have a
DEBUG "Got here with {} and then {} and even {}", $foo, $bar, $baz;
This is actually a slf4j feature, but I think that it is quite a handy functionality to have (scroll down in the linked doc).
https://www.slf4j.org/faq.html#logging_performance
Implementation details:
The functionality boils down to replacing "{}" with the parameter list. It is akin to sprintf "%s" and for the reference parameters, Data::Dumper can be utilized as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels