1 write to _logger
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
243_logger = _loggerFactory.CreateLogger(typeof(HubConnection));
88 references to _logger
Microsoft.AspNetCore.SignalR.Client.Core (88)
HubConnection.cs (88)
244_state = new ReconnectingConnectionState(_logger); 267using (_logger.BeginScope(_logScope)) 320using (_logger.BeginScope(_logScope)) 336using (_logger.BeginScope(_logScope)) 357Log.RegisteringHandler(_logger, methodName); 390Log.RegisteringHandler(_logger, methodName); 416Log.RemovingHandlers(_logger, methodName); 436using (_logger.BeginScope(_logScope)) 458using (_logger.BeginScope(_logScope)) 477using (_logger.BeginScope(_logScope)) 492Log.Starting(_logger); 518Log.DisablingReconnect(_logger, _protocol.Name, _protocol.Version); 525Log.HubProtocol(_logger, _protocol.Name, usedProtocolVersion); 530Log.ErrorStartingConnection(_logger, ex); 550Log.Started(_logger); 711Log.SendingCancellation(_logger, irq.InvocationId); 718Log.UnableToSendCancellation(_logger, irq.InvocationId); 797Log.StartingStream(_logger, id); 970Log.SendingStreamItem(_logger, streamId); 978Log.StartingStream(_logger, streamId); 986Log.CancelingStream(_logger, streamId); 991Log.ErroredStream(_logger, streamId, ex); 1003Log.CompletingStream(_logger, streamId); 1008Log.CompletingStreamNotSent(_logger, streamId); 1013Log.ErrorSendingStreamCompletion(_logger, streamId, ex); 1111if (activity is null && Activity.Current is not null && _logger.IsEnabled(LogLevel.Critical)) 1137Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1146Log.RegisteringInvocation(_logger, irq.InvocationId); 1150Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1158Log.FailedToSendInvocation(_logger, irq.InvocationId, ex); 1168Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1176Log.RegisteringInvocation(_logger, irq.InvocationId); 1181Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1189Log.FailedToSendInvocation(_logger, irq.InvocationId, ex); 1211Log.SendingMessage(_logger, hubMessage); 1223Log.MessageSent(_logger, hubMessage); 1242Log.PreparingNonBlockingInvocation(_logger, methodName, args.Length); 1289Log.ResettingKeepAliveTimer(_logger); 1303Log.ArgumentBindingFailure(_logger, bindingFailure.InvocationId, bindingFailure.Target, bindingFailure.BindingFailure.SourceException); 1312Log.StreamBindingFailure(_logger, bindingFailure.Id, bindingFailure.BindingFailure.SourceException); 1315Log.ReceivedInvocation(_logger, invocation.InvocationId, invocation.Target, invocation.Arguments); 1321Log.DroppedCompletionMessage(_logger, completion.InvocationId!); 1333Log.DroppedStreamMessage(_logger, streamItem.InvocationId!); 1341Log.ReceivedClose(_logger); 1345Log.ReceivedCloseWithError(_logger, close.Error); 1357Log.ReceivedPing(_logger); 1361Log.ReceivedAckMessage(_logger, ackMessage.SequenceId); 1365Log.ReceivedSequenceMessage(_logger, sequenceMessage.SequenceId); 1382Log.MissingResultHandler(_logger, invocation.Target); 1389Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex); 1394Log.MissingHandler(_logger, invocation.Target); 1421Log.ErrorInvokingClientSideMethod(_logger, invocation.Target, ex); 1443Log.MissingResultHandler(_logger, invocation.Target); 1449Log.ErrorSendingInvocationResult(_logger, invocation.InvocationId!, invocation.Target, ex); 1454Log.ResultNotExpected(_logger, invocation.Target); 1460Log.ReceivedStreamItem(_logger, irq.InvocationId); 1464Log.CancelingStreamItem(_logger, irq.InvocationId); 1468Log.ReceivedStreamItemAfterClose(_logger, irq.InvocationId); 1474Log.ReceivedInvocationCompletion(_logger, irq.InvocationId); 1478Log.CancelingInvocationCompletion(_logger, irq.InvocationId); 1494Log.SendingHubHandshake(_logger); 1505Log.ErrorReceivingHandshakeResponse(_logger, ex); 1541Log.HandshakeServerError(_logger, message.Error); 1546Log.HandshakeComplete(_logger); 1573Log.ErrorInvalidHandshakeResponse(_logger, ex); 1580Log.ErrorHandshakeTimedOut(_logger, HandshakeTimeout, ex); 1584Log.ErrorHandshakeCanceled(_logger, ex); 1591Log.ErrorReceivingHandshakeResponse(_logger, ex); 1602Log.ReceiveLoopStarting(_logger); 1652Log.ProcessingMessage(_logger, buffer.Length); 1706Log.ServerDisconnectedWithError(_logger, ex); 1754Log.ShutdownWithError(_logger, connectionState.CloseException); 1758Log.ShutdownConnection(_logger); 1793Log.InvokingClosedEventHandler(_logger); 1798Log.ErrorDuringClosedEvent(_logger, ex); 1822Log.FirstReconnectRetryDelayNull(_logger); 1834Log.ReconnectingWithError(_logger, closeException); 1838Log.Reconnecting(_logger); 1845Log.AwaitingReconnectRetryDelay(_logger, previousReconnectAttempts + 1, nextRetryDelay.Value); 1853Log.ReconnectingStoppedDuringRetryDelay(_logger); 1878Log.Reconnected(_logger, previousReconnectAttempts, DateTime.UtcNow - reconnectStartTime); 1889Log.ReconnectAttemptFailed(_logger, ex); 1893Log.ReconnectingStoppedDuringReconnectAttempt(_logger); 1918Log.ReconnectAttemptsExhausted(_logger, previousReconnectAttempts, elapsedTime); 1944Log.ErrorDuringNextRetryDelay(_logger, ex); 1975Log.ErrorDuringReconnectingEvent(_logger, ex); 2002Log.ErrorDuringReconnectedEvent(_logger, ex); 2165_logger = _hubConnection._logger;