Why isn't there a trace level in log4Net?

后端 未结 3 1809
北海茫月
北海茫月 2021-01-31 08:54

I was just wondering why there isn\'t a trace level in log4Net. This level seems to be missing and I sometimes feel the need to use it, for example to output what events are bei

3条回答
  •  不知归路
    2021-01-31 09:19

    The log4net.ILog interface only exposes methods and properties for Fatal, Error, Warn, Info and Debug levels.

    I agree this is a bit limiting and would like to see one more level in there. But then the optimal number of levels is probably "one more than the current number of levels" - you'll always find yourself occasionally wanting one more level.

提交回复
热议问题