Skip to content

Commit ae64179

Browse files
authored
Added Logging to LogToTrace method for better information about the program.
1 parent f19ed4f commit ae64179

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CutCode.CrossPlatform/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
using System;
1+
using System;
22
using System.Diagnostics;
33
using Avalonia;
4+
using Avalonia.Logging;
45
using Avalonia.Controls.ApplicationLifetimes;
56
using Avalonia.ReactiveUI;
67
namespace CutCode.CrossPlatform
@@ -23,7 +24,7 @@ public static void Main(string[] args)
2324
public static AppBuilder BuildAvaloniaApp()
2425
=> AppBuilder.Configure<App>()
2526
.UsePlatformDetect()
26-
.LogToTrace()
27+
.LogToTrace(level: LogEventLevel.Information)
2728
.UseReactiveUI();
2829
}
2930
}

0 commit comments

Comments
 (0)