title: log4net complex type logging
body: <p>I want to log complex type object in c# and to use log4net for logging. What is the correct approach to do this?I use filelogappender.So I want to see my entity in log.Should I do it to use stringbuilder class and convert my entity to string or serialize it to json or is log4net has a ability to this?</p>
  
  <pre><code>public class Person
  {
  Name {get;set;}
  Surname{get;set;}
  }
  
  Person personobject=new Person("MyName","MySurname");
  log4net.Log.Warn(personobject);
  </code></pre>