Autofac.Extras.NLog
Autofac.Extras.NLog copied to clipboard
Question: Why not using NLog.ILogger
Why did you create an extra Interface for the ILogger? I changed it to global::NLog.ILogger so i do not have to Strongname it in my Application. Is it why you commented "//TODO: UPDATE TO USE NLOG:INTERFACE Package (Fork and solve nlog.interface issues)" in the ILogger?
Or at least explicitly document that the ILogger
interface should be the one from the Autofac.Extras.NLog
namespace.
@CNBoland
This is fixed by https://github.com/ziyasal/Autofac.Extras.NLog/pull/19?
@304NotModified @davidshen84 @LordPinhead Can you verify in your project that injecting NLog.ILogger
is working for you? The Sample.ConsoleApp
project in source tree is configured this way.