ArmNN
NotReleased
Utils.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
#pragma once
6
7
#include "
armnn/TypesUtils.hpp
"
8
9
namespace
armnn
10
{
11
12
enum class
LogSeverity
13
{
14
Trace
,
15
Debug
,
16
Info
,
17
Warning
,
18
Error
,
19
Fatal
20
};
21
27
void
ConfigureLogging
(
bool
printToStandardOutput,
bool
printToDebugOutput,
LogSeverity
severity);
28
29
30
#if defined(__clang__) &&((__clang_major__>=3)||(__clang_major__==3 && __clang_minor__ >= 5))
31
# define ARMNN_FALLTHROUGH [[clang::fallthrough]]
32
#elif defined(__GNUC__) && (__GNUC__ >= 7)
33
# define ARMNN_FALLTHROUGH __attribute__((fallthrough))
34
#else
35
# define ARMNN_FALLTHROUGH ((void)0)
36
#endif
37
38
}
// namespace armnn
armnn::LogSeverity::Error
armnn::LogSeverity::Warning
armnn::ConfigureLogging
void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity)
Definition:
Utils.cpp:10
TypesUtils.hpp
armnn::LogSeverity::Fatal
armnn::LogSeverity::Debug
armnn::LogSeverity
LogSeverity
Definition:
Utils.hpp:12
armnn::LogSeverity::Trace
armnn
Definition:
BackendHelper.hpp:11
armnn::LogSeverity::Info
include
armnn
Utils.hpp
Generated on Fri Mar 13 2020 16:06:53 for ArmNN by
1.8.13