Jonathan, To create your own appender you need to write a new class that extends the log4net.Appender.AppenderSkeleton. You can write this in a separate assembly. Have a look at the source for an existing appender in the log4net download. For example the TraceAppender is simple and shows how to override the Append method. The configurator will set the value of any simple public properties that are specified in the config file.
In the configuration file you can reference your appender using the fully qualified type name, i.e. "classname,assemblyname". Nicko > -----Original Message----- > From: A A [mailto:[EMAIL PROTECTED] > Sent: 08 November 2004 04:10 > To: [email protected] > Subject: custom Log4Net appender > > How do I create a new Log4Net appender? Are there any samples > for C#/.NET 1.1 ? I can't find any piece of information on it > in existing docs and SDK, but need to create my own appender > for Event Tracing for Windows (ETW). > Please let me know if anybody already created such an > appender. Any samples or other help will be appreciated. > > Thanks, > Jonathan >
