1 write to _logger
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
55_logger = logger;
35 references to _logger
Microsoft.AspNetCore.SignalR.Core (35)
Internal\DefaultHubDispatcher.cs (35)
103activity = StartActivity(SignalRServerActivitySource.OnConnected, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnConnectedAsync), headers: null, _logger, connection); 139activity = StartActivity(SignalRServerActivitySource.OnDisconnected, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnDisconnectedAsync), headers: null, _logger, connection); 186activity = StartActivity(SignalRServerActivitySource.OnAuthenticationRefreshed, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnAuthenticationRefreshedAsync), headers: null, _logger, connection); 194Log.FailedInvokingHubMethod(_logger, nameof(Hub.OnAuthenticationRefreshedAsync), ex); 215Log.DroppingMessage(_logger, hubMessage.GetType().Name, (hubMessage as HubInvocationMessage)?.InvocationId ?? "(null)"); 228Log.ReceivedHubInvocation(_logger, invocationMessage); 232Log.ReceivedStreamHubInvocation(_logger, streamInvocationMessage); 240Log.CancelInvocation(_logger, cancelInvocationMessage.InvocationId!); 246Log.UnexpectedCancelWithId(_logger, cancelInvocationMessage.InvocationId!); 262Log.CompletingStream(_logger, completionMessage); 271Log.UnexpectedCompletion(_logger, completionMessage.InvocationId!); 276Log.ReceivedAckMessage(_logger, ackMessage.SequenceId); 280Log.ReceivedSequenceMessage(_logger, sequenceMessage.SequenceId); 290Log.UnsupportedMessageReceived(_logger, hubMessage.GetType().FullName!); 299Log.InvalidHubParameters(_logger, bindingFailureMessage.Target, bindingFailureMessage.BindingFailure.SourceException); 313Log.ClosingStreamWithBindingError(_logger, message); 326Log.UnexpectedStreamItem(_logger); 330Log.ReceivedStreamItem(_logger, message); 339Log.UnknownHubMethod(_logger, hubMethodInvocationMessage.Target); 389Log.HubMethodNotAuthorized(_logger, hubMethodInvocationMessage.Target); 407Log.InvalidHubParameters(_logger, hubMethodInvocationMessage.Target, ex); 454var logger = dispatcher._logger; 551Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 557Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 611var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivityLinks, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger, connection, descriptor); 618Log.InvocationIdInUse(_logger, invocationId); 634Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 641Log.InvalidReturnValueFromStreamingMethod(_logger, descriptor.MethodExecutor.MethodInfo.Name); 647Log.StreamingResult(_logger, invocationId, descriptor.MethodExecutor); 663Log.FailedStreaming(_logger, invocationId, descriptor.MethodExecutor.MethodInfo.Name, exception); 673Log.FailedStreaming(_logger, invocationId, descriptor.MethodExecutor.MethodInfo.Name, ex); 825Log.StreamingMethodCalledWithInvoke(_logger, hubMethodInvocationMessage); 835Log.NonStreamingMethodCalledWithStream(_logger, hubMethodInvocationMessage); 872Log.StartingParameterStream(_logger, hubMethodInvocationMessage.StreamIds![streamPointer]); 944Log.HubMethodBound(_logger, hubName, methodName);