You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Ron Grabowski <ro...@yahoo.com> on 2005/08/23 19:40:33 UTC
log4net.Plugins
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