summaryrefslogtreecommitdiffstats
path: root/samples/OAuthClient/Code
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/OAuthClient/Code
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/OAuthClient/Code')
-rw-r--r--samples/OAuthClient/Code/Logging.cs6
-rw-r--r--samples/OAuthClient/Code/TracePageAppender.cs13
2 files changed, 4 insertions, 15 deletions
diff --git a/samples/OAuthClient/Code/Logging.cs b/samples/OAuthClient/Code/Logging.cs
index 4e47e49..8fbf594 100644
--- a/samples/OAuthClient/Code/Logging.cs
+++ b/samples/OAuthClient/Code/Logging.cs
@@ -5,7 +5,9 @@
using System.Text;
using System.Web;
- /// <summary>
+ using DotNetOpenAuth.Logging;
+
+ /// <summary>
/// Logging tools for this sample.
/// </summary>
public static class Logging {
@@ -17,6 +19,6 @@
/// <summary>
/// The logger for this sample to use.
/// </summary>
- public static log4net.ILog Logger = log4net.LogManager.GetLogger("DotNetOpenAuth.OAuthClient");
+ public static ILog Logger = LogProvider.GetLogger("DotNetOpenAuth.OAuthClient");
}
} \ No newline at end of file
diff --git a/samples/OAuthClient/Code/TracePageAppender.cs b/samples/OAuthClient/Code/TracePageAppender.cs
deleted file mode 100644
index f41fd17..0000000
--- a/samples/OAuthClient/Code/TracePageAppender.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace OAuthClient {
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Web;
-
- public class TracePageAppender : log4net.Appender.AppenderSkeleton {
- protected override void Append(log4net.Core.LoggingEvent loggingEvent) {
- StringWriter sw = new StringWriter(Logging.LogMessages);
- Layout.Format(sw, loggingEvent);
- }
- }
-} \ No newline at end of file