Browse Source

remove unused function

Remove SetLog function
pull/44/head
wzxjohn 10 years ago
parent
commit
ac4c395cff
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      shadowsocks-csharp/Controller/ShadowsocksController.cs

+ 0
- 18
shadowsocks-csharp/Controller/ShadowsocksController.cs View File

@@ -179,23 +179,5 @@ namespace Shadowsocks.Controller
{
UpdateSystemProxy();
}
private void SetLog()
{
try
{
FileStream fs = new FileStream("shadowsocks.log", FileMode.Append);
TextWriter tmp = Console.Out;
StreamWriter sw = new StreamWriter(fs);
sw.AutoFlush = true;
Console.SetOut(sw);
Console.SetError(sw);
}
catch (IOException e)
{
Console.WriteLine(e.ToString());
}
}
}
}

Loading…
Cancel
Save