Files
Newtonsoft.Json/Src/Newtonsoft.Json/TraceLevel.cs
T
Florian Greinacher b8e60c773b Change ifdefs to be by feature, not by platform (#1146)
* First pass

* Second pass

* Third pass

* Temporarily change build script to build only portable

* Add portable features for release build

* Add feature constants to build script

* Add more feature constants to build script

* Fix build issues

* Fix build issues

* Get rid of constants in build.ps1

* HAVE_NUMERICS -> HAVE_BIG_INTEGER

* Remove HAVE_NULLABLE

* Remove HAVE_NUMERICS from csprojs

* Add missing ifdef

* Add feature defines to pj

* Re-enable netstd builds

* Fix defines in pj

* Trying to get better build outputs

* Trying to get the build error

* Use newer cli

* Address review feedback; make netstd build work

* Introduce HAVE_DB_NULL_TYPE

* Adapt to upstream changes; address remaining review feedback

* Adapt to upstream changes; address remaining review feedback

* Rename some constants for constistency

* Address review feedback

* -Fixed build with signed assembly

* Fix merge erorr

* Address review feedback

* Introduce HAVE_NON_SERIALIZED_ATTRIBUTE

* HAVE_IGNORE_DATA_MEMBER_ATTRIBUTE
2017-01-12 11:07:02 +13:00

39 lines
878 B
C#

#if !HAVE_TRACE_WRITER
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 = 0,
/// <summary>
/// Output error-handling messages.
/// </summary>
Error = 1,
/// <summary>
/// Output warnings and error-handling messages.
/// </summary>
Warning = 2,
/// <summary>
/// Output informational messages, warnings, and error-handling messages.
/// </summary>
Info = 3,
/// <summary>
/// Output all debugging and tracing messages.
/// </summary>
Verbose = 4
}
}
#endif