mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
21 lines
682 B
C#
21 lines
682 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Windows;
|
|
using System.Windows.Data;
|
|
using System.Xml;
|
|
|
|
namespace Cosmos.Kernel.LogViewer {
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App: Application {
|
|
private void Application_Startup(object sender, StartupEventArgs e) {
|
|
System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = System.Diagnostics.SourceLevels.All;
|
|
System.Diagnostics.PresentationTraceSources.DataBindingSource.Listeners.Add(new ConsoleTraceListener());
|
|
}
|
|
}
|
|
}
|