This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
shadowsocks-windows
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
67
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
remove unused function
Remove SetLog function
pull/44/head
wzxjohn
10 years ago
parent
6e66f36426
commit
ac4c395cff
1 changed files
with
0 additions
and
18 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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());
}
}
}
}
Write
Preview
Loading…
Cancel
Save