diff options
Diffstat (limited to 'src/InfoCard/InfoCardRelyingParty/App_Code/Logging.cs')
-rw-r--r-- | src/InfoCard/InfoCardRelyingParty/App_Code/Logging.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/InfoCard/InfoCardRelyingParty/App_Code/Logging.cs b/src/InfoCard/InfoCardRelyingParty/App_Code/Logging.cs new file mode 100644 index 0000000..64ecebc --- /dev/null +++ b/src/InfoCard/InfoCardRelyingParty/App_Code/Logging.cs @@ -0,0 +1,16 @@ +using System.Text; + +/// <summary> +/// Logging tools for this sample. +/// </summary> +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.InfoCardRelyingParty"); +} |