summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdOfflineProvider/App.xaml.cs
diff options
context:
space:
mode:
authorDavid Christiansen <DavidChristiansen@users.noreply.github.com>2015-01-05 09:33:24 +0000
committerDavid Christiansen <DavidChristiansen@users.noreply.github.com>2015-01-05 09:33:24 +0000
commit3770a51d19a04be18ade75f59e0ff1687010a130 (patch)
tree240382c976672ed421d529860117e37677328f02 /samples/OpenIdOfflineProvider/App.xaml.cs
parent7574924b2b5c810b7c00328f04f506f28da3f2ec (diff)
parenta14dcb800b25d1b0477ab123b6865d90865f96f0 (diff)
downloadDotNetOpenAuth-3770a51d19a04be18ade75f59e0ff1687010a130.zip
DotNetOpenAuth-3770a51d19a04be18ade75f59e0ff1687010a130.tar.gz
DotNetOpenAuth-3770a51d19a04be18ade75f59e0ff1687010a130.tar.bz2
Merge pull request #359 from DavidChristiansen/develop
Closes #356, Closes #357, Closes #358
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());
}
}
}