HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
severity.h
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License.
3
4
#pragma once
5
6
namespace
onnxruntime {
7
namespace
logging {
8
// mild violation of naming convention. the 'k' lets us use token concatenation in the macro
9
// ::onnxruntime::Logging::Severity::k##severity. It's not legal to have ::onnxruntime::Logging::Severity::##severity
10
// the uppercase makes the LOG macro usage look as expected for passing an enum value as it will be LOGS(logger, ERROR)
11
enum class
Severity
{
12
kVERBOSE
= 0,
13
kINFO
= 1,
14
kWARNING
= 2,
15
kERROR
= 3,
16
kFATAL
= 4
17
};
18
19
constexpr
const
char
*
SEVERITY_PREFIX
=
"VIWEF"
;
20
21
}
// namespace logging
22
}
// namespace onnxruntime
onnxruntime::logging::Severity::kINFO
onnxruntime::logging::Severity::kERROR
onnxruntime::logging::Severity::kWARNING
onnxruntime::logging::Severity
Severity
Definition:
severity.h:11
onnxruntime::logging::SEVERITY_PREFIX
constexpr const char * SEVERITY_PREFIX
Definition:
severity.h:19
onnxruntime::logging::Severity::kVERBOSE
onnxruntime::logging::Severity::kFATAL
onnxruntime
core
common
logging
severity.h
Generated on Sat Dec 21 2024 02:46:59 for HDK by
1.8.6