1 write to _logger
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
29
_logger
= logger;
17 references to _logger
Microsoft.AspNetCore.SpaProxy (17)
SpaProxyLaunchManager.cs (17)
45
if (
_logger
.IsEnabled(LogLevel.Information))
47
_logger
.LogInformation($"No SPA development server running at {_options.ServerUrl} found.");
61
_logger
.LogError(ex, "There was an error trying to launch the SPA proxy.");
89
_logger
.LogDebug(exception, "Failed to connect to the SPA Development proxy.");
120
_logger
.LogDebug(exception, "Failed to connect to the SPA Development proxy.");
151
if (
_logger
.IsEnabled(LogLevel.Error))
153
_logger
.LogError($"Couldn't start the SPA development server with command '{_options.LaunchCommand}'.");
158
if (
_logger
.IsEnabled(LogLevel.Error))
160
_logger
.LogError($"Unable to connect to the SPA development server at '{_options.ServerUrl}'.");
163
else if (
_logger
.IsEnabled(LogLevel.Information))
165
_logger
.LogInformation($"SPA development server running at '{_options.ServerUrl}'");
214
_logger
.LogError(exception, $"Failed to launch the SPA development server '{_options.LaunchCommand}'.");
249
if (
_logger
.IsEnabled(LogLevel.Warning))
251
_logger
.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" +
258
if (
_logger
.IsEnabled(LogLevel.Debug))
260
_logger
.LogDebug($"Watch process '{stopProcess}' started.");
311
_logger
.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" +