mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Update exclusions
This commit is contained in:
parent
945e4873c5
commit
c0787bfe7a
1 changed files with 7 additions and 3 deletions
|
@ -19,6 +19,10 @@ using Windows.UI.Xaml.Input;
|
|||
using Windows.UI.Xaml.Media;
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
|
||||
#if HAS_UNO
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
|
||||
namespace CalculatorApp
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -96,11 +100,11 @@ namespace CalculatorApp
|
|||
}
|
||||
|
||||
#if HAS_UNO
|
||||
static void ConfigureFilters(Microsoft.Extensions.Logging.ILoggerFactory factory)
|
||||
static void ConfigureFilters(ILoggerFactory factory)
|
||||
{
|
||||
#if DEBUG
|
||||
factory
|
||||
.WithFilter(new Microsoft.Extensions.Logging.FilterLoggerSettings
|
||||
.WithFilter(new FilterLoggerSettings
|
||||
{
|
||||
{ "Uno", LogLevel.Warning },
|
||||
{ "Windows", LogLevel.Warning },
|
||||
|
@ -131,7 +135,7 @@ namespace CalculatorApp
|
|||
#if !__WASM__
|
||||
factory
|
||||
.AddConsole(LogLevel.Error);
|
||||
#endifs
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue