Open qarmin opened 1 year ago
How would you like to see this work?
Since the logging message is solely powered by the built-in format!
macro and no manual parsing is done, it could be as easy as exposing a fn_name
string in case the message string looks like this for example: message = "Heavy calculations in function: {fn_name}
or would someting like an extra option to the macro like show_fn = true
be preferred, which would produce a message like [find_bad_extensions_files] Heavy calculations ...
Currently with such macro
I got this messages
but would be great to see also function name without needing to manually put there function name
https://github.com/y2kappa/timed - already have such functionality, but produced string is ugly