mirror of https://github.com/Radarr/Radarr
14 lines
311 B
C#
14 lines
311 B
C#
|
using NLog;
|
|||
|
using NLog.Targets;
|
|||
|
|
|||
|
namespace NzbDrone.Common.Instrumentation
|
|||
|
{
|
|||
|
public class NzbDroneFileTarget : FileTarget
|
|||
|
{
|
|||
|
protected override string GetFormattedMessage(LogEventInfo logEvent)
|
|||
|
{
|
|||
|
return CleanseLogMessage.Cleanse(Layout.Render(logEvent));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|