On 2/24/23 08:46, RĂ©mi Bernon (@rbernon) wrote:
And I don't think renaming the functions is a solution, it can only be done after you've discovered the ambiguity.
In the end having `class_name_interface_name_method_name` function vs `file_name:interface_name_method_name` in the log is exactly the same. It makes the code little less verbose, which, when interface names or function names alone get close to 200 char, is desirable, while making the one class per file (imho is a good practice) more useful.
Yes, sure. But maybe another macro then? Or, maybe, same macro TRACE can check another define macro enabling extended context and add this info to the message itself instead of header?