Log4Net custom appender : How to logs messages that will wrote using the Custom appender?
问题 Issue was solved - I edit this post with the right code. I am trying to wrote the "main" function that initialize the log4net logger + attachment to the Custom appender and send message thought it - this is my try (without success Unfortunately) What is wrong with my initialize (Form1.cs below)? namespace WindowsFormsApplication1 { public partial class Form1 : Form { ILog log = LogManager.GetLogger(typeof(Form1)); public Form1() { log4net.Config.XmlConfigurator.Configure();