NLog support
Closed this issue · 1 comments
techiedesu commented
Hello! Thanks for the library. Is it planned to support NLog? I have the project without Microsoft.Extensions.Logging.ILogger.
jwosty commented
Thanks @techiedesu for enjoying the library! You should be able to use an adapter like NLog.Extensions.Logging to convert an NLog Logger
instance to a Microsoft ILogger
. There are similar adapters for all major logging frameworks:
- NLog (as mentioned): https://github.com/NLog/NLog.Extensions.Logging
- Serilog: https://github.com/serilog/serilog-extensions-logging
- log4net: https://github.com/huorswords/Microsoft.Extensions.Logging.Log4Net.AspNetCore
- logary (F# logging framework): https://www.nuget.org/packages/Logary.Adapters.AspNetCore
Feel free to reopen if this doesn't fully answer the question.