コード例 #1
0
ファイル: LogViewer.xaml.cs プロジェクト: tuita520/SimCivil
 public static ILoggingBuilder AddLogViewer(this ILoggingBuilder builder, LogViewer logViewer)
 {
     return(builder.AddProvider(new WpfLogProvider(logViewer)));
 }
コード例 #2
0
ファイル: LogViewer.xaml.cs プロジェクト: tuita520/SimCivil
 public WpfLogProvider(LogViewer logViewer)
 {
     LogViewer = logViewer;
 }
コード例 #3
0
ファイル: LogViewer.xaml.cs プロジェクト: tuita520/SimCivil
 public WpfLogger(LogViewer logViewer, string category)
 {
     LogViewer = logViewer;
     Category  = category;
 }