1 write to _logger
Microsoft.AspNetCore.SignalR.Client.Core (1)
93 references to _logger
Microsoft.AspNetCore.SignalR.Client.Core (93)
HubConnection.cs (93)
272_state = new ReconnectingConnectionState(_logger);
297using (_logger.BeginScope(_logScope))
350using (_logger.BeginScope(_logScope))
366using (_logger.BeginScope(_logScope))
387Log.RegisteringHandler(_logger, methodName);
420Log.RegisteringHandler(_logger, methodName);
446Log.RemovingHandlers(_logger, methodName);
466using (_logger.BeginScope(_logScope))
488using (_logger.BeginScope(_logScope))
507using (_logger.BeginScope(_logScope))
522Log.Starting(_logger);
548Log.DisablingReconnect(_logger, _protocol.Name, _protocol.Version);
555Log.HubProtocol(_logger, _protocol.Name, usedProtocolVersion);
560Log.ErrorStartingConnection(_logger, ex);
591Log.Started(_logger);
636_logger,
657_logger,
773Log.AuthenticationRefreshStarting(_logger);
775Log.AuthenticationRefreshCompleted(_logger, newTtl);
779Log.AuthenticationRefreshFailed(_logger, ex);
1057Log.StartingStream(_logger, id);
1231Log.SendingStreamItem(_logger, streamId);
1239Log.StartingStream(_logger, streamId);
1247Log.CancelingStream(_logger, streamId);
1252Log.ErroredStream(_logger, streamId, ex);
1264Log.CompletingStream(_logger, streamId);
1269Log.CompletingStreamNotSent(_logger, streamId);
1274Log.ErrorSendingStreamCompletion(_logger, streamId, ex);
1382if (activity is null && Activity.Current is not null && _logger.IsEnabled(LogLevel.Critical))
1420Log.SendingCancellation(_logger, irq.InvocationId);
1427Log.UnableToSendCancellation(_logger, irq.InvocationId);
1445Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1454Log.RegisteringInvocation(_logger, irq.InvocationId);
1458Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1466Log.FailedToSendInvocation(_logger, irq.InvocationId, ex);
1476Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1484Log.RegisteringInvocation(_logger, irq.InvocationId);
1489Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1497Log.FailedToSendInvocation(_logger, irq.InvocationId, ex);
1519Log.SendingMessage(_logger, hubMessage);
1531Log.MessageSent(_logger, hubMessage);
1550Log.PreparingNonBlockingInvocation(_logger, methodName, args.Length);
1597Log.ResettingKeepAliveTimer(_logger);
1616Log.ArgumentBindingFailure(_logger, bindingFailure.InvocationId, bindingFailure.Target, bindingFailure.BindingFailure.SourceException);
1627Log.StreamBindingFailure(_logger, bindingFailure.Id, bindingFailure.BindingFailure.SourceException);
1630Log.ReceivedInvocation(_logger, invocation.InvocationId, invocation.Target, invocation.Arguments);
1636Log.DroppedCompletionMessage(_logger, completion.InvocationId!);
1648Log.DroppedStreamMessage(_logger, streamItem.InvocationId!);
1656Log.ReceivedClose(_logger);
1660Log.ReceivedCloseWithError(_logger, close.Error);
1672Log.ReceivedPing(_logger);
1676Log.ReceivedAckMessage(_logger, ackMessage.SequenceId);
1680Log.ReceivedSequenceMessage(_logger, sequenceMessage.SequenceId);
1697Log.MissingResultHandler(_logger, invocation.Target);
1704Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1709Log.MissingHandler(_logger, invocation.Target);
1736Log.ErrorInvokingClientSideMethod(_logger, invocation.Target, ex);
1758Log.MissingResultHandler(_logger, invocation.Target);
1764Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1769Log.ResultNotExpected(_logger, invocation.Target);
1775Log.ReceivedStreamItem(_logger, irq.InvocationId);
1779Log.CancelingStreamItem(_logger, irq.InvocationId);
1783Log.ReceivedStreamItemAfterClose(_logger, irq.InvocationId);
1789Log.ReceivedInvocationCompletion(_logger, irq.InvocationId);
1793Log.CancelingInvocationCompletion(_logger, irq.InvocationId);
1809Log.SendingHubHandshake(_logger);
1820Log.ErrorReceivingHandshakeResponse(_logger, ex);
1856Log.HandshakeServerError(_logger, message.Error);
1861Log.HandshakeComplete(_logger);
1888Log.ErrorInvalidHandshakeResponse(_logger, ex);
1895Log.ErrorHandshakeTimedOut(_logger, HandshakeTimeout, ex);
1899Log.ErrorHandshakeCanceled(_logger, ex);
1906Log.ErrorReceivingHandshakeResponse(_logger, ex);
1917Log.ReceiveLoopStarting(_logger);
1967Log.ProcessingMessage(_logger, buffer.Length);
2021Log.ServerDisconnectedWithError(_logger, ex);
2071Log.ShutdownWithError(_logger, connectionState.CloseException);
2075Log.ShutdownConnection(_logger);
2108Log.InvokingClosedEventHandler(_logger);
2109await InvokeEventHandlersAsync(closed, closeException, _logger, Log.ErrorDuringClosedEvent).ConfigureAwait(false);
2132Log.FirstReconnectRetryDelayNull(_logger);
2144Log.ReconnectingWithError(_logger, closeException);
2148Log.Reconnecting(_logger);
2155Log.AwaitingReconnectRetryDelay(_logger, previousReconnectAttempts + 1, nextRetryDelay.Value);
2163Log.ReconnectingStoppedDuringRetryDelay(_logger);
2188Log.Reconnected(_logger, previousReconnectAttempts, DateTime.UtcNow - reconnectStartTime);
2199Log.ReconnectAttemptFailed(_logger, ex);
2203Log.ReconnectingStoppedDuringReconnectAttempt(_logger);
2228Log.ReconnectAttemptsExhausted(_logger, previousReconnectAttempts, elapsedTime);
2254Log.ErrorDuringNextRetryDelay(_logger, ex);
2279await InvokeEventHandlersAsync(reconnecting, closeException, _logger, Log.ErrorDuringReconnectingEvent).ConfigureAwait(false);
2299await InvokeEventHandlersAsync(reconnected, ConnectionId, _logger, Log.ErrorDuringReconnectedEvent).ConfigureAwait(false);
2461_logger = _hubConnection._logger;