-Added ITraceWriter

-Fixed .NET 2.0 build using DateTimeOffset
This commit is contained in:
James Newton-King
2012-11-09 17:10:32 +13:00
parent 12b60f2fca
commit 89883dc57b
36 changed files with 870 additions and 117 deletions
+33
View File
@@ -0,0 +1,33 @@
#if (NETFX_CORE || SILVERLIGHT || PORTABLE)
using Newtonsoft.Json.Serialization;
namespace Newtonsoft.Json
{
/// <summary>
/// Specifies what messages to output for the <see cref="ITraceWriter"/> class.
/// </summary>
public enum TraceLevel
{
/// <summary>
/// Output no tracing and debugging messages.
/// </summary>
Off,
/// <summary>
/// Output error-handling messages.
/// </summary>
Error,
/// <summary>
/// Output warnings and error-handling messages.
/// </summary>
Warning,
/// <summary>
/// Output informational messages, warnings, and error-handling messages.
/// </summary>
Info,
/// <summary>
/// Output all debugging and tracing messages.
/// </summary>
Verbose
}
}
#endif