onnxruntime/csharp/src/Microsoft.ML.OnnxRuntime/OrtLoggingLevel.cs
Pranav Sharma 22a711457f
Fix C# log APIs. Also fixes github issue #3409. (#3840)
* Fix C# log APIs. Fixes github issue #3409.

* Fix build error due to accidental duplication of GraphOptimizationLevel

* Fix runoptions

* Fix broken test. Add --blame switch to dotnet test cmd line to print the failed test in case of crash.
2020-05-08 14:31:06 -07:00

17 lines
No EOL
432 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.ML.OnnxRuntime
{
/// <summary>
/// Log severity levels
/// </summary>
public enum OrtLoggingLevel
{
ORT_LOGGING_LEVEL_VERBOSE = 0,
ORT_LOGGING_LEVEL_INFO = 1,
ORT_LOGGING_LEVEL_WARNING = 2,
ORT_LOGGING_LEVEL_ERROR = 3,
ORT_LOGGING_LEVEL_FATAL = 4,
}
}