You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
391 B
16 lines
391 B
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);
|
|
}
|
|
}
|
|
}
|