GitHub user dpsenner opened a pull request:
https://github.com/apache/logging-log4net/pull/3
Support for types of non-parameterless constructors in XmlConfigurator.
The constructor parameters are taken from the corresponding values of
the child nodes.
You can add for instance
<standardunit type="Amazon.CloudWatch.StandardUnit">
<value value="Kilobytes"/>
</standardunit>
where StandardUnit has only one constructor that has a string parameter
named "value".
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/logging-log4net pr/old/10
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/logging-log4net/pull/3.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3
----
commit b4bc43eed24d1152772141652d68002f396c615d
Author: Martin Camitz <[email protected]>
Date: 2014-04-22T13:36:29Z
Support for types of non-parameterless constructors in XmlConfigurator.
The constructor parameters are taken from the corresponding values of
the child nodes.
You can add for instance
<standardunit type="Amazon.CloudWatch.StandardUnit">
<value value="Kilobytes"/>
</standardunit>
where StandardUnit has only one constructor that has a string parameter
named "value".
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---