/// <summary> /// Posts this event to Loggr /// </summary> /// <param name="Async">A bool that specifies how the event should be posted. Typically an application will post asynchronously for best performance, but sometimes an event needs to be posted synchronously if the application needs to block until the event has completed posting</param> /// <returns></returns> public virtual T Post(bool Async) { if (_client == null) { _client = new LogClient(); } _client.Post(this.Event, Async); return(this as T); }
public void LogClient_PostNoText() { Loggr.LogClient client = new Loggr.LogClient(); client.Post(new Event()); }