protected internal NetworkLogHandler(IServerConnector serverConnector) : base(true) { ArgumentGuard.NotNull(serverConnector, nameof(serverConnector)); isOpen_ = false; serverConnector_ = serverConnector; clientEvents_ = new LogSessionsClientEvents(); }
public void SendLogs(LogSessionsClientEvents clientEvents) { EnsureHttpClient_(); using (httpClient_.PostJson("api/sessions/log", clientEvents)) { } }