Log4Net stacktrace vs stacktracedetail

时间:2013-12-06 14:16:34

标签: log4net

问题1:Log4Net中的stacktrace参数与stacktracedetail有什么区别?

问题2:如here所述,可以指定的堆栈跟踪级别是什么?

1 个答案:

答案 0 :(得分:1)

对于问题1,page you link to显示了stacktrace和stacktracedetail之间的区别:stacktracedetail包含参数信息。

stacktrace  
…

Output uses the format: type3.MethodCall3 > 
                        type2.MethodCall2 > 
                        type1.MethodCall1

stacktracedetail    
…

Output uses the format: type3.MethodCall3(type param,...) >
                        type2.MethodCall2(type param,...) > 
                        type1.MethodCall1(type param,...)