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);
1611Log.ArgumentBindingFailure(_logger, bindingFailure.InvocationId, bindingFailure.Target, bindingFailure.BindingFailure.SourceException);
1620Log.StreamBindingFailure(_logger, bindingFailure.Id, bindingFailure.BindingFailure.SourceException);
1623Log.ReceivedInvocation(_logger, invocation.InvocationId, invocation.Target, invocation.Arguments);
1629Log.DroppedCompletionMessage(_logger, completion.InvocationId!);
1641Log.DroppedStreamMessage(_logger, streamItem.InvocationId!);
1649Log.ReceivedClose(_logger);
1653Log.ReceivedCloseWithError(_logger, close.Error);
1665Log.ReceivedPing(_logger);
1669Log.ReceivedAckMessage(_logger, ackMessage.SequenceId);
1673Log.ReceivedSequenceMessage(_logger, sequenceMessage.SequenceId);
1690Log.MissingResultHandler(_logger, invocation.Target);
1697Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1702Log.MissingHandler(_logger, invocation.Target);
1729Log.ErrorInvokingClientSideMethod(_logger, invocation.Target, ex);
1751Log.MissingResultHandler(_logger, invocation.Target);
1757Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1762Log.ResultNotExpected(_logger, invocation.Target);
1768Log.ReceivedStreamItem(_logger, irq.InvocationId);
1772Log.CancelingStreamItem(_logger, irq.InvocationId);
1776Log.ReceivedStreamItemAfterClose(_logger, irq.InvocationId);
1782Log.ReceivedInvocationCompletion(_logger, irq.InvocationId);
1786Log.CancelingInvocationCompletion(_logger, irq.InvocationId);
1802Log.SendingHubHandshake(_logger);
1813Log.ErrorReceivingHandshakeResponse(_logger, ex);
1849Log.HandshakeServerError(_logger, message.Error);
1854Log.HandshakeComplete(_logger);
1881Log.ErrorInvalidHandshakeResponse(_logger, ex);
1888Log.ErrorHandshakeTimedOut(_logger, HandshakeTimeout, ex);
1892Log.ErrorHandshakeCanceled(_logger, ex);
1899Log.ErrorReceivingHandshakeResponse(_logger, ex);
1910Log.ReceiveLoopStarting(_logger);
1960Log.ProcessingMessage(_logger, buffer.Length);
2014Log.ServerDisconnectedWithError(_logger, ex);
2064Log.ShutdownWithError(_logger, connectionState.CloseException);
2068Log.ShutdownConnection(_logger);
2101Log.InvokingClosedEventHandler(_logger);
2102await InvokeEventHandlersAsync(closed, closeException, _logger, Log.ErrorDuringClosedEvent).ConfigureAwait(false);
2125Log.FirstReconnectRetryDelayNull(_logger);
2137Log.ReconnectingWithError(_logger, closeException);
2141Log.Reconnecting(_logger);
2148Log.AwaitingReconnectRetryDelay(_logger, previousReconnectAttempts + 1, nextRetryDelay.Value);
2156Log.ReconnectingStoppedDuringRetryDelay(_logger);
2181Log.Reconnected(_logger, previousReconnectAttempts, DateTime.UtcNow - reconnectStartTime);
2192Log.ReconnectAttemptFailed(_logger, ex);
2196Log.ReconnectingStoppedDuringReconnectAttempt(_logger);
2221Log.ReconnectAttemptsExhausted(_logger, previousReconnectAttempts, elapsedTime);
2247Log.ErrorDuringNextRetryDelay(_logger, ex);
2272await InvokeEventHandlersAsync(reconnecting, closeException, _logger, Log.ErrorDuringReconnectingEvent).ConfigureAwait(false);
2292await InvokeEventHandlersAsync(reconnected, ConnectionId, _logger, Log.ErrorDuringReconnectedEvent).ConfigureAwait(false);
2454_logger = _hubConnection._logger;