예제 #1
0
        public OutboundSocketTests()
        {
            if (System.Environment.GetEnvironmentVariable("APPVEYOR_BUILD_NUMBER") == null)
            {
                Logging.LogProvider.SetCurrentLogProvider(new ColouredConsoleLogProvider());
            }

            PreventThreadPoolStarvation.Init();
        }
예제 #2
0
 public OutboundSocketTests()
 {
     PreventThreadPoolStarvation.Init();
     Logger.Configure(LoggerFactory.Create(builder =>
     {
         builder
         .AddFilter("Microsoft", LogLevel.Warning)
         .AddFilter("System", LogLevel.Warning)
         .AddFilter("LoggingConsoleApp.Program", LogLevel.Debug)
         .AddConsole();
     }));
 }
예제 #3
0
 public InboundSocketTests()
 {
     PreventThreadPoolStarvation.Init();
 }
예제 #4
0
 public OutboundListenerTests()
 {
     PreventThreadPoolStarvation.Init();
 }