1 write to _logger
Aspire.Hosting.RemoteHost (1)
28 references to _logger
Aspire.Hosting.RemoteHost (28)
JsonRpcServer.cs (28)
112_logger.LogInformation("Starting RemoteAppHost JsonRpc Server on {SocketPath}...", _socketPath);
135_logger.LogInformation("Goodbye!");
141_logger.LogInformation("Starting JsonRpc server on named pipe: {SocketPath}", _socketPath);
157_logger.LogDebug("Waiting for client connection...");
174_logger.LogDebug("Client connected");
183_logger.LogInformation("Server shutdown requested");
188_logger.LogError(ex, "Error in server loop, retrying in 1 second...");
193_logger.LogInformation("Server stopped");
198_logger.LogInformation("Starting JsonRpc server on Unix domain socket: {SocketPath}", _socketPath);
219_logger.LogDebug("Waiting for client connection...");
223_logger.LogDebug("Client connected");
233_logger.LogInformation("Server shutdown requested");
238_logger.LogError(ex, "Error in server loop, retrying in 1 second...");
243_logger.LogInformation("Server stopped");
256_logger.LogDebug("Creating DI scope for client {ClientId}", clientId);
279jsonRpc.TraceSource.Switch.Level = _logger.IsEnabled(LogLevel.Trace)
282jsonRpc.TraceSource.Listeners.Add(new JsonRpcTraceListener(_logger, clientId));
297_logger.LogDebug("JsonRpc connection established for client {ClientId} (bidirectional)", clientId);
311_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
316_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
322_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
327_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
334_logger.LogWarning(ex, "Client {ClientId} I/O error", clientId);
340_logger.LogError(ex, "Client {ClientId} unexpected error", clientId);
357_logger.LogDebug("Connection cleanup completed for client {ClientId}", clientId);
362_logger.LogDebug("Active clients remaining: {RemainingClients}", remaining);
383_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", _socketPath);
387_logger.LogDebug("JsonRpcServer disposed");