mirror of https://github.com/Radarr/Radarr
16 lines
368 B
C#
16 lines
368 B
C#
using System.IO;
|
|
using Microsoft.Owin.Hosting.Tracing;
|
|
using NLog;
|
|
|
|
namespace Radarr.Host.Owin
|
|
{
|
|
public class OwinTraceOutputFactory : ITraceOutputFactory
|
|
{
|
|
private readonly Logger _logger = LogManager.GetLogger("Owin");
|
|
|
|
public TextWriter Create(string outputFile)
|
|
{
|
|
return new NlogTextWriter(_logger);
|
|
}
|
|
}
|
|
} |