diff options
Diffstat (limited to 'samples/OAuthConsumer/Code/Logging.cs')
-rw-r--r-- | samples/OAuthConsumer/Code/Logging.cs | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/samples/OAuthConsumer/Code/Logging.cs b/samples/OAuthConsumer/Code/Logging.cs index 185c9a9..510ea85 100644 --- a/samples/OAuthConsumer/Code/Logging.cs +++ b/samples/OAuthConsumer/Code/Logging.cs @@ -1,20 +1,22 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Web; +namespace OAuthConsumer { + using System; + using System.Collections.Generic; + using System.Linq; + using System.Text; + using System.Web; -/// <summary> -/// Logging tools for this sample. -/// </summary> -public static class Logging { /// <summary> - /// An application memory cache of recent log messages. + /// Logging tools for this sample. /// </summary> - public static StringBuilder LogMessages = new StringBuilder(); + public static class Logging { + /// <summary> + /// An application memory cache of recent log messages. + /// </summary> + public static StringBuilder LogMessages = new StringBuilder(); - /// <summary> - /// The logger for this sample to use. - /// </summary> - public static log4net.ILog Logger = log4net.LogManager.GetLogger("DotNetOpenAuth.ConsumerSample"); + /// <summary> + /// The logger for this sample to use. + /// </summary> + public static log4net.ILog Logger = log4net.LogManager.GetLogger("DotNetOpenAuth.OAuthConsumer"); + } }
\ No newline at end of file |