mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Package cleanup
This commit is contained in:
parent
1ace2d5b22
commit
5ecbdd3e64
105 changed files with 151 additions and 25190 deletions
|
@ -1,32 +0,0 @@
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
using NLog;
|
||||
|
||||
namespace NzbDrone.Core.Instrumentation
|
||||
{
|
||||
public class NlogWriter : TextWriter
|
||||
{
|
||||
private static readonly Logger Logger = LogManager.GetLogger("NzbDrone.SubSonic");
|
||||
|
||||
public override Encoding Encoding
|
||||
{
|
||||
get { return Encoding.Default; }
|
||||
}
|
||||
|
||||
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
Write(new string(buffer, index, count));
|
||||
}
|
||||
|
||||
public override void Write(string value)
|
||||
{
|
||||
DbAction(value);
|
||||
}
|
||||
|
||||
private static void DbAction(string value)
|
||||
{
|
||||
Logger.Trace(value.Replace("`t0`.", ""));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue