diff options
author | David Christiansen <coding@davedoes.net> | 2015-01-04 23:33:54 +0000 |
---|---|---|
committer | David Christiansen <coding@davedoes.net> | 2015-01-04 23:33:54 +0000 |
commit | 5f8a168cc7a17fbc24442be4ae6b518d95a12647 (patch) | |
tree | 9f0efbcd13ff54446a34bd229dfd495eed882b06 /src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs | |
parent | 7574924b2b5c810b7c00328f04f506f28da3f2ec (diff) | |
download | DotNetOpenAuth-5f8a168cc7a17fbc24442be4ae6b518d95a12647.zip DotNetOpenAuth-5f8a168cc7a17fbc24442be4ae6b518d95a12647.tar.gz DotNetOpenAuth-5f8a168cc7a17fbc24442be4ae6b518d95a12647.tar.bz2 |
Closes #356, Closes #357, Closes #358
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs b/src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs index 71c904b..abda04f 100644 --- a/src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs +++ b/src/DotNetOpenAuth.Core/Messaging/ErrorUtilities.cs @@ -11,6 +11,9 @@ namespace DotNetOpenAuth.Messaging { using System.Diagnostics.Contracts; using System.Globalization; using System.Web; + + using DotNetOpenAuth.Logging; + using Validation; /// <summary> @@ -186,7 +189,7 @@ namespace DotNetOpenAuth.Messaging { Assumes.True(unformattedMessage != null); if (!condition) { var exception = new ProtocolException(string.Format(CultureInfo.CurrentCulture, unformattedMessage, args)); - if (Logger.Messaging.IsErrorEnabled) { + if (Logger.Messaging.IsErrorEnabled()) { Logger.Messaging.Error( string.Format( CultureInfo.CurrentCulture, |