Issue Details (XML | Word | Printable)

Key: LOG4NET-45
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

PluginAttribute does not allow plugin type to be specified as a Type, only as a string

Created: 24/Aug/05 10:19 PM   Updated: 24/Aug/05 10:21 PM
Return to search
Component/s: Core
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 24/Aug/05 10:21 PM


 Description  « Hide
The PluginAttribute currently allows the plugin type to be specified as a string, for example:

[assembly: log4net.Config.Plugin("log4net.Plugin.RemoteLoggingServerPlugin,log4net")]

it should be possible to specify this as a type, for example:

[assembly: log4net.Config.Plugin(typeof(log4net.Plugin.RemoteLoggingServerPlugin))]

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #312308 Wed Aug 24 13:20:45 UTC 2005 nicko Fix for LOG4NET-45. Added constructor and property to take plugin type as a Type
Files Changed
MODIFY /logging/log4net/trunk/src/Config/PluginAttribute.cs