26 references to LogWarning
Aspire.Dashboard (1)
Model\BrowserStorage\LocalBrowserStorage.cs (1)
42_logger.LogWarning(ex, $"Error when reading '{key}' as {typeof(T).Name} from local browser storage.");
Aspire.Hosting.Dapr (1)
DaprDistributedApplicationLifecycleHook.cs (1)
357_logger.LogWarning(ex, "Failed to delete temporary Dapr resources directory: {OnDemandResourcesRootPath}", _onDemandResourcesRootPath);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
RetryHandler.cs (1)
37_logger.LogWarning(ex, "Error sending request");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionContext.cs (1)
67_log.LogWarning(ex, "Failed to gracefully shutdown connection.");
Internal\QuicStreamContext.cs (1)
540_log.LogWarning(ex, "Stream failed to gracefully shutdown.");
Microsoft.Maui (2)
Fonts\FileSystemEmbeddedFontLoader.cs (1)
77 _serviceProvider?.CreateLogger<EmbeddedFontLoader>()?.LogWarning(ex, "Unable copy font {Font} to local file system.", font.FontName);
Fonts\FontRegistrar.cs (1)
71 _serviceProvider?.CreateLogger<FontRegistrar>()?.LogWarning(ex, "Unable to load font '{Font}'.", font);
Microsoft.Maui.Controls (5)
NavigationPage\NavigationPage.cs (1)
241 Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.LogWarning(e, null);
Shell\Shell.cs (2)
1258 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "If you're using hot reload add a route to everything in your shell file"); 1554 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "Failed to Navigate Back");
UriImageSource.cs (2)
75 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri); 126 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri);
Microsoft.Maui.Controls.Compatibility (14)
iOS\CollectionView\ItemsViewLayout.cs (1)
392 Application.Current?.FindMauiContext()?.CreateLogger<ItemsViewLayout>()?.LogWarning(ex, "NSRangeException");
iOS\DragAndDropDelegate.cs (1)
253 Forms.MauiContext?.CreateLogger<DropGestureRecognizer>()?.LogWarning(e, null);
iOS\Renderers\ButtonLayoutManager.cs (1)
268 Forms.MauiContext?.CreateLogger<ButtonLayoutManager>()?.LogWarning(ex, "Error loading image");
iOS\Renderers\EntryRenderer.cs (3)
470 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "Failed to set Control.SelectedTextRange from CursorPosition/SelectionLength"); 541 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "FFailed to set CursorPosition from renderer"); 558 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "Failed to set SelectionLength from renderer");
iOS\Renderers\ImageButtonRenderer.cs (1)
119 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Error loading image");
iOS\Renderers\ImageElementManager.cs (1)
292 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Image load failed");
iOS\Renderers\ImageRenderer.cs (1)
88 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Image loading failed");
iOS\Renderers\WkWebViewRenderer.cs (5)
203 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(formatException, "Unable to Load Url {url} ", url); 208 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Unable to Load Url {url}", url); 233 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(ex, "Could not load {url} as local file", url); 641 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Syncing Existing Cookies Failed"); 761 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Failed to Sync Cookies");