mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-23 06:25:19 -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.Media;
|
||||||
using Windows.UI.Xaml.Navigation;
|
using Windows.UI.Xaml.Navigation;
|
||||||
|
|
||||||
|
#if HAS_UNO
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace CalculatorApp
|
namespace CalculatorApp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -96,11 +100,11 @@ namespace CalculatorApp
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAS_UNO
|
#if HAS_UNO
|
||||||
static void ConfigureFilters(Microsoft.Extensions.Logging.ILoggerFactory factory)
|
static void ConfigureFilters(ILoggerFactory factory)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
factory
|
factory
|
||||||
.WithFilter(new Microsoft.Extensions.Logging.FilterLoggerSettings
|
.WithFilter(new FilterLoggerSettings
|
||||||
{
|
{
|
||||||
{ "Uno", LogLevel.Warning },
|
{ "Uno", LogLevel.Warning },
|
||||||
{ "Windows", LogLevel.Warning },
|
{ "Windows", LogLevel.Warning },
|
||||||
|
@ -131,7 +135,7 @@ namespace CalculatorApp
|
||||||
#if !__WASM__
|
#if !__WASM__
|
||||||
factory
|
factory
|
||||||
.AddConsole(LogLevel.Error);
|
.AddConsole(LogLevel.Error);
|
||||||
#endifs
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue