Console improvements, info providers
This commit is contained in:
@@ -426,7 +426,7 @@
|
||||
<Rectangle
|
||||
Fill="{DynamicResource ForegroundBrush}"
|
||||
Grid.Row="1"
|
||||
IsVisible="{Binding IsSelected^}" />
|
||||
IsVisible="{Binding IsSelected.Value}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
|
||||
@@ -35,6 +35,7 @@ public static class Program
|
||||
.WriteTo.File(
|
||||
Path.Combine(logFolder, "appLog.log"),
|
||||
fileSizeLimitBytes: 10 * 1024 * 1024,
|
||||
outputTemplate: "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}",
|
||||
rollingInterval: RollingInterval.Day,
|
||||
rollOnFileSizeLimit: true)
|
||||
.CreateBootstrapLogger();
|
||||
|
||||
@@ -94,6 +94,7 @@ public static class Startup
|
||||
.WriteTo.File(
|
||||
Path.Combine(Program.AppDataRoot, "logs", "appLog.log"),
|
||||
fileSizeLimitBytes: 10 * 1024 * 1024,
|
||||
outputTemplate: "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}",
|
||||
rollingInterval: RollingInterval.Day,
|
||||
rollOnFileSizeLimit: true)
|
||||
.WriteTo.Sink(serviceProvider.GetRequiredService<ToastMessageSink>());
|
||||
|
||||
Reference in New Issue
Block a user