mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04:00
17 lines
405 B
C#
17 lines
405 B
C#
using System;
|
|
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);
|
|
}
|
|
}
|
|
}
|