本文介绍了自动记录器与宏在vc ++中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计:



我正在尝试在我的程序中开发基于宏的vc ++记录器。



所以基本上我想在执行一个函数后在我的.txt日志文件中输出一条记录。输出记录应记录此时的函数名称,参数名称,参数值和函数返回值。整个记录器由宏控制,可由用户启用/禁用。



我知道如何启动它?任何建议都非常感谢。 Thansk。



Nick

Hi Folks:

I am trying to develop a macro based vc++ logger in my program.

So basically I want to output a piece of record in my .txt log file once one of my functions is executed. The output record should record the function name, parameter names, parameter values and function return values at this point. The entire logger is controlled by macro that can be enabled/disabled by user.

Any idea how I should start this? Any suggestion is highly appreciated. Thansk.

Nick

推荐答案


这篇关于自动记录器与宏在vc ++中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 07:31