I was curious how the following line works to configure log4net in the assembly:
[assembly: log4net.Config.XmlConfigurator(Watch=true)]
I guess this is called sometime before runtime calls "main ()", but when does this happen and what are the consequences? Are there other structures / libraries that use this assembly attribute to load an initial context like this? Are there any advantages / disadvantages to doing something similar, as opposed to calling the "Configure" method in main ()?
c # configuration assemblies log4net
Andy white
source share