mirror of https://github.com/Radarr/Radarr
16 lines
391 B
C#
16 lines
391 B
C#
using System.Text;
|
|
using NLog;
|
|
using NLog.Targets;
|
|
|
|
namespace NzbDrone.Common.Instrumentation
|
|
{
|
|
public class NzbDroneFileTarget : FileTarget
|
|
{
|
|
protected override void RenderFormattedMessage(LogEventInfo logEvent, StringBuilder target)
|
|
{
|
|
var result = CleanseLogMessage.Cleanse(Layout.Render(logEvent));
|
|
target.Append(result);
|
|
}
|
|
}
|
|
}
|