1 write to Logger
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBindContext.cs (1)
18
Logger
= logger;
14 references to Logger
Microsoft.AspNetCore.Server.Kestrel.Core (14)
AnyIPListenOptions.cs (4)
31
if (context.
Logger
.IsEnabled(LogLevel.Trace))
33
context.
Logger
.LogTrace(ex, CoreStrings.FailedToBindToIPv6Any, IPEndPoint.Port);
35
if (context.
Logger
.IsEnabled(LogLevel.Debug))
37
context.
Logger
.LogDebug(CoreStrings.FallbackToIPv4Any, IPEndPoint.Port, IPEndPoint.Port);
Internal\AddressBinder.cs (6)
159
if (context.
Logger
.IsEnabled(LogLevel.Debug))
161
context.
Logger
.LogDebug(CoreStrings.BindingToDefaultAddress, Constants.DefaultServerAddress);
176
if (context.
Logger
.IsEnabled(LogLevel.Information))
178
context.
Logger
.LogInformation(CoreStrings.OverridingWithPreferHostingUrls, nameof(IServerAddressesFeature.PreferHostingUrls), joined);
197
if (context.
Logger
.IsEnabled(LogLevel.Warning))
199
context.
Logger
.LogWarning(CoreStrings.OverridingWithKestrelOptions, string.Join(", ", _originalAddresses));
LocalhostListenOptions.cs (4)
40
if (context.
Logger
.IsEnabled(LogLevel.Information))
42
context.
Logger
.LogInformation(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv4 loopback", ex.Message);
54
if (context.
Logger
.IsEnabled(LogLevel.Information))
56
context.
Logger
.LogInformation(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv6 loopback", ex.Message);