Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
os/filestore: when print log, use __func__ instead of hard code function name #15261
anyway, personally, i am expecting changes like this come up as parts of more significant ones.
changed the title from
when print log, use macro __func__ instead of function name
os/filestore: when print log, use macro __func__ instead of function name
May 24, 2017
While at it...
Which makes inpointing the log even easier, especially during debugging.
But I'm not sure when func and LINE are evaluated. Could be that the preprocessor already takes care of LINE. and you end up the the linenumber of the macro.