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);
1059Log.StartingStream(_logger, id);
1233Log.SendingStreamItem(_logger, streamId);
1241Log.StartingStream(_logger, streamId);
1249Log.CancelingStream(_logger, streamId);
1254Log.ErroredStream(_logger, streamId, ex);
1266Log.CompletingStream(_logger, streamId);
1271Log.CompletingStreamNotSent(_logger, streamId);
1276Log.ErrorSendingStreamCompletion(_logger, streamId, ex);
1384if (activity is null && Activity.Current is not null && _logger.IsEnabled(LogLevel.Critical))
1422Log.SendingCancellation(_logger, irq.InvocationId);
1429Log.UnableToSendCancellation(_logger, irq.InvocationId);
1447Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1456Log.RegisteringInvocation(_logger, irq.InvocationId);
1460Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1468Log.FailedToSendInvocation(_logger, irq.InvocationId, ex);
1478Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1486Log.RegisteringInvocation(_logger, irq.InvocationId);
1491Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1499Log.FailedToSendInvocation(_logger, irq.InvocationId, ex);
1521Log.SendingMessage(_logger, hubMessage);
1533Log.MessageSent(_logger, hubMessage);
1552Log.PreparingNonBlockingInvocation(_logger, methodName, args.Length);
1599Log.ResettingKeepAliveTimer(_logger);
1618Log.ArgumentBindingFailure(_logger, bindingFailure.InvocationId, bindingFailure.Target, bindingFailure.BindingFailure.SourceException);
1629Log.StreamBindingFailure(_logger, bindingFailure.Id, bindingFailure.BindingFailure.SourceException);
1632Log.ReceivedInvocation(_logger, invocation.InvocationId, invocation.Target, invocation.Arguments);
1638Log.DroppedCompletionMessage(_logger, completion.InvocationId!);
1650Log.DroppedStreamMessage(_logger, streamItem.InvocationId!);
1658Log.ReceivedClose(_logger);
1662Log.ReceivedCloseWithError(_logger, close.Error);
1674Log.ReceivedPing(_logger);
1678Log.ReceivedAckMessage(_logger, ackMessage.SequenceId);
1682Log.ReceivedSequenceMessage(_logger, sequenceMessage.SequenceId);
1699Log.MissingResultHandler(_logger, invocation.Target);
1706Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1711Log.MissingHandler(_logger, invocation.Target);
1738Log.ErrorInvokingClientSideMethod(_logger, invocation.Target, ex);
1760Log.MissingResultHandler(_logger, invocation.Target);
1766Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex);
1771Log.ResultNotExpected(_logger, invocation.Target);
1777Log.ReceivedStreamItem(_logger, irq.InvocationId);
1781Log.CancelingStreamItem(_logger, irq.InvocationId);
1785Log.ReceivedStreamItemAfterClose(_logger, irq.InvocationId);
1791Log.ReceivedInvocationCompletion(_logger, irq.InvocationId);
1795Log.CancelingInvocationCompletion(_logger, irq.InvocationId);
1811Log.SendingHubHandshake(_logger);
1822Log.ErrorReceivingHandshakeResponse(_logger, ex);
1858Log.HandshakeServerError(_logger, message.Error);
1863Log.HandshakeComplete(_logger);
1890Log.ErrorInvalidHandshakeResponse(_logger, ex);
1897Log.ErrorHandshakeTimedOut(_logger, HandshakeTimeout, ex);
1901Log.ErrorHandshakeCanceled(_logger, ex);
1908Log.ErrorReceivingHandshakeResponse(_logger, ex);
1919Log.ReceiveLoopStarting(_logger);
1969Log.ProcessingMessage(_logger, buffer.Length);
2023Log.ServerDisconnectedWithError(_logger, ex);
2073Log.ShutdownWithError(_logger, connectionState.CloseException);
2077Log.ShutdownConnection(_logger);
2110Log.InvokingClosedEventHandler(_logger);
2111await InvokeEventHandlersAsync(closed, closeException, _logger, Log.ErrorDuringClosedEvent).ConfigureAwait(false);
2134Log.FirstReconnectRetryDelayNull(_logger);
2146Log.ReconnectingWithError(_logger, closeException);
2150Log.Reconnecting(_logger);
2157Log.AwaitingReconnectRetryDelay(_logger, previousReconnectAttempts + 1, nextRetryDelay.Value);
2165Log.ReconnectingStoppedDuringRetryDelay(_logger);
2190Log.Reconnected(_logger, previousReconnectAttempts, DateTime.UtcNow - reconnectStartTime);
2201Log.ReconnectAttemptFailed(_logger, ex);
2205Log.ReconnectingStoppedDuringReconnectAttempt(_logger);
2230Log.ReconnectAttemptsExhausted(_logger, previousReconnectAttempts, elapsedTime);
2256Log.ErrorDuringNextRetryDelay(_logger, ex);
2281await InvokeEventHandlersAsync(reconnecting, closeException, _logger, Log.ErrorDuringReconnectingEvent).ConfigureAwait(false);
2301await InvokeEventHandlersAsync(reconnected, ConnectionId, _logger, Log.ErrorDuringReconnectedEvent).ConfigureAwait(false);
2463_logger = _hubConnection._logger;