NLog LogFactory implementation

Here is an example LogFactory for NLog that I have been using.