static void Main(string[] args) { var stub = new Stub(); ; var tcp = new ViaTcp(); var udp = new ViaUdp(); var ec = new ViaEventCollector(); var eco = new ViaEventCollectorWithExtendedOptions(); eco.Configure(); //ec.Configure(); //udp.Configure(); //tcp.Configure(); Log.Information("Simulation running, press any key to exit."); stub.Run(); var range = Enumerable.Range(0, 10000); foreach (var i in range) { Log.Information("Say hello to {0}", i); } Console.ReadLine(); }
static void Main(string[] args) { var stub = new Stub(); ; var tcp = new ViaTcp(); var udp = new ViaUdp(); var ec = new ViaEventCollector(); var eco = new ViaEventCollectorWithExtendedOptions(); eco.Configure(); //ec.Configure(); //udp.Configure(); //tcp.Configure(); Log.Information("Simulation running, press any key to exit."); stub.Run(); var range = Enumerable.Range(0, 100); foreach (var i in range) { Log.Information("Say hello to {0}", i); } Console.ReadLine(); }