tags:

views:

69

answers:

2

Hi,

I need a logging tool for. Net which can change 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

+2  A: 

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/

MrDosu
A: 

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

TheObjectGuy