Predefined Macros for function name __func__

后端 未结 4 2069
长发绾君心
长发绾君心 2020-12-29 03:54

I am attempting to build a debug log message function that records the file, line, and function of of where the log message was called from.

#define DEBUG_P         


        
4条回答
  •  萌比男神i
    2020-12-29 04:17

    As often Boost is THE cross platform solution with BOOST_CURRENT_FUNCTION defined in .

提交回复
热议问题