title: how to implement log4net in c# and what is need of log4net?
body: <p>i just want to know that, what is use of log4net in application and how i`m gonna implement in c#.</p>
  
  <p>i am done with some of the research that i am put under it.</p>
  
  <pre><code>public static class Logger
  {
      private static log4net.ILog Log { get; set; }
  
      static Logger()
      {
          Log = log4net.LogManager.GetLogger(typeof(Logger));
      }
  
      public static void Error(object msg)
      {
          Log.Error(msg);
      }
  
      public static void Error(object msg, Exception ex)
      {
          Log.Error(msg, ex);
      }
  
      public static void Error(Exception ex)
      {
          Log.Error(ex.Message, ex);
      }
  
      public static void Info(object msg)
      {
          Log.Info(msg);
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>above is just a method that maintain log in separate file i just want to know in advance.  </p>