Write an object to a TextWriter
Writes the Object to a writer. If the ILoggerRepository specified is not null then it is used to render the object to text, otherwise the object's ToString method is called.
PatternConverter Class | log4net.Util Namespace