log4net configuration with [assembly:]
问题 I was curious how the following line works for configuring log4net in an assembly: [assembly: log4net.Config.XmlConfigurator(Watch=true)] I'm guessing this gets called sometime before the runtime invokes "main()" but when does this occur, and what are the implications? Are there other frameworks/libraries that use this assembly attribute for loading an initial context like this? Are there any advantages/disadvantages for doing something like this, as opposed to calling a "Configure" method in