logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SoxFan44 <gregchag...@yahoo.com>
Subject Pass in object to custom appender programmatically?
Date Thu, 14 Jul 2011 20:16:47 GMT

I wrote a custom appender that needs a custom object to be passed in to it. 
I see how I can use the config file to pass in string values, but is there a
way to programmatically pass in objects?  Ex:

public class MyAppender : AppenderSkeleton
  public MyCustomObject obj { get; set; }

  public override Append(...)

View this message in context: http://old.nabble.com/Pass-in-object-to-custom-appender-programmatically--tp32064132p32064132.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message