开发者

.Net logging tool which can change configuration dynamically

I need a logging tool for. Net which can chan开发者_Go百科ge configuration at runtime. What I want to do is the following:

  • application starts and logging should start too
  • some data is processed, a certain event occures
  • a new logger and a new logging sink is created (a database which does not exist at program start)

log4net works fine for me, as long as I use XML for configuration, but the API for in-code configuration is not very nice and not very well documented. Can anybody recommend an alternative tool, which fits the above usecase?

cheers, Achim


The Microsoft Enterprise Library Logging Application Block has a nice fluent interface for configuration in code (since 5.0 or 4.1 i cant remember right now) http://entlib.codeplex.com/


This logging framework should suit your needs: The Object Guy's Logging Framework

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜