public void Hello() { StaticEventSource.ConnectStart("aaaa"); StaticEventSource.ConnectStart("aaaa"); StaticEventSource.ReceiveStop("aaaa", false, true); }
public bool LogAndEVentSource() { LogTo.Debug("Sent & finished " + currentWriteCopier.Length); var a = DateTime.Now; Console.WriteLine(a.Add(TimeSpan.FromDays(12))); StaticEventSource.ConnectStop(currentWriteCopier); return(false); }