logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject log4net.Plugins
Date Tue, 23 Aug 2005 17:40:33 GMT
Can plugins be added via the config file?

Are plugins processed before or after the other elements of the config
file have been processed? Is it possible for a plugin to hook into the
"pre-initialize Appender" code somehow (i.e. call the appender's
constructor, pass it to the plugin, then assign the appender's
properties)?

I couldn't find any tests in:

 /logging-log4net/tests/src/

or on the website. How does one add a plugin to log4net? 

Above these lines in DefaultRepositorySelector.cs:

 // Look for plugins defined on the assembly					
LoadPlugins(repositoryAssembly, rep);

There is this line:

 // Look for aliasing attributes						 LoadAliases(repositoryAssembly,
rep);

What does mean to alias a repository?

Thanks,
Ron

Mime
View raw message