summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdOfflineProvider/App.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdOfflineProvider/App.xaml.cs')
-rw-r--r--samples/OpenIdOfflineProvider/App.xaml.cs19
1 files changed, 5 insertions, 14 deletions
diff --git a/samples/OpenIdOfflineProvider/App.xaml.cs b/samples/OpenIdOfflineProvider/App.xaml.cs
index 8fb29e8..481ddb7 100644
--- a/samples/OpenIdOfflineProvider/App.xaml.cs
+++ b/samples/OpenIdOfflineProvider/App.xaml.cs
@@ -5,29 +5,20 @@
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenIdOfflineProvider {
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Data;
- using System.Linq;
- using System.Windows;
- using log4net;
- using log4net.Core;
+ using System.Windows;
- /// <summary>
+ using DotNetOpenAuth.Logging;
+
+ /// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application {
- /// <summary>
- /// Message logger.
- /// </summary>
- internal static ILog Logger = log4net.LogManager.GetLogger(typeof(App));
/// <summary>
/// Initializes a new instance of the <see cref="App"/> class.
/// </summary>
public App() {
- log4net.Config.XmlConfigurator.Configure();
+ LogProvider.SetCurrentLogProvider(new TextWriterLogProvider());
}
}
}