net-commons / common-logging

A portable logging abstraction for .NET
http://net-commons.github.io/common-logging
Apache License 2.0
649 stars 205 forks source link

Support NLog configuration API #160

Open davidshen84 opened 7 years ago

davidshen84 commented 7 years ago

Currently, the NLoggerFactoryAdapter only accept a name value collection as its constructor parameter. According to the doc, the INLINE and FILE types are both xml form of configuration, but in different place.

Using code to define the logger settings are more reliable.