Home

Awesome

NLog.Interface

Defines an abstraction for NLog.Logger public interface that you can use in unit tests and dependency injection.

ILogger logger = new LoggerAdapter(NLog.LogManager.GetCurrentClassLogger());
logger.Info("Hello World!");

There is an ILogger interface in NLog library by v4.0. You don't need this library anymore.

License

NLog.Interface is licensed under MIT License. Refer to license file for more information.