38 references to LogWarning
Aspire.Dashboard (2)
Model\BrowserStorage\BrowserStorageBase.cs (1)
36
Logger.
LogWarning
(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Model\BrowserStorage\LocalBrowserStorage.cs (1)
40
Logger.
LogWarning
(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Aspire.Hosting.Dapr (1)
DaprDistributedApplicationLifecycleHook.cs (1)
358
_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 (9)
Fonts\EmbeddedFontLoader.iOS.cs (1)
63
_serviceProvider?.CreateLogger<EmbeddedFontLoader>()?.
LogWarning
(ex, "Unable register font {Font} with the system.", font.FontName);
Fonts\FileSystemEmbeddedFontLoader.cs (1)
77
_serviceProvider?.CreateLogger<EmbeddedFontLoader>()?.
LogWarning
(ex, "Unable copy font {Font} to local file system.", font.FontName);
Fonts\FontManager.iOS.cs (1)
164
_serviceProvider?.CreateLogger<FontManager>()?.
LogWarning
(ex, "Unable to load font '{Font}'.", family);
Fonts\FontRegistrar.cs (1)
71
_serviceProvider?.CreateLogger<FontRegistrar>()?.
LogWarning
(ex, "Unable to load font '{Font}'.", font);
Handlers\WebView\WebViewHandler.iOS.cs (1)
76
handler.MauiContext?.CreateLogger<WebViewHandler>()?.
LogWarning
(exc, "Syncing Existing Cookies Failed");
ImageSources\FileImageSourceService\FileImageSourceService.iOS.cs (1)
42
Logger?.
LogWarning
(ex, "Unable to load image file '{File}'.", imageSource.File);
ImageSources\FontImageSourceService\FontImageSourceService.iOS.cs (1)
38
Logger?.
LogWarning
(ex, "Unable to generate font image '{Glyph}'.", imageSource.Glyph);
ImageSources\StreamImageSourceService\StreamImageSourceService.iOS.cs (1)
37
Logger?.
LogWarning
(ex, "Unable to load image stream.");
ImageSources\UriImageSourceService\UriImageSourceService.iOS.cs (1)
41
Logger?.
LogWarning
(ex, "Unable to load image URI '{Uri}'.", imageSource.Uri);
Microsoft.Maui.Controls (9)
Compatibility\Handlers\Shell\iOS\ShellRenderer.cs (2)
227
_mauiContext?.CreateLogger<ShellRenderer>()?.
LogWarning
(exc, "Failed on changing current item");
301
_mauiContext?.CreateLogger<ShellRenderer>()?.
LogWarning
(exc, "Failed to SetCurrentShellItemController");
Handlers\Items\iOS\ItemsViewLayout.cs (1)
430
Application.Current?.FindMauiContext()?.CreateLogger<ItemsViewLayout>()?.
LogWarning
(ex, "NSRangeException");
NavigationPage\NavigationPage.cs (1)
241
Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.
LogWarning
(e, null);
Platform\iOS\DragAndDropDelegate.cs (1)
309
Application.Current?.FindMauiContext()?.CreateLogger<DropGestureRecognizer>()?.
LogWarning
(dropExc, "Error sending drop event");
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");