Long ago, I made a little project wherein I hoped to learn about Castle Windsor. I put it aside (before really learning all that much) for quite some time. I just opened it up again now, and updated NuGet packages, and started getting a warning CS0618:
'LoggingFacility.UseNLog()' is obsolete: 'A logger factory implementation type should be provided via LogUsing(), this will be removed in the future.'
I've googled based on this, but it's still not clear to me what I am supposed to do in order to replace the now-obsolete call, which is:
container.AddFacility<LoggingFacility>(f => f.UseNLog());
Any help would be appreciated. Thanks!
container.AddFacility<LoggingFacility>(f => .LogUsing(LoggerImplementation.NLog).WithConfig("nlog.config"));
– Religion