Release 18.08
[platform/upstream/armnn.git] / include / armnn / Utils.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
4 //
5 #pragma once
6
7 #include <vector>
8 #include "armnn/TypesUtils.hpp"
9
10 namespace armnn
11 {
12
13 enum class LogSeverity
14 {
15     Trace,
16     Debug,
17     Info,
18     Warning,
19     Error,
20     Fatal
21 };
22
23 /// Configures the logging behaviour of the ARMNN library.
24 ///     printToStandardOutput: Set to true if log messages should be printed to the standard output.
25 ///     printToDebugOutput: Set to true if log messages be printed to a platform-specific debug output
26 ///       (where supported).
27 ///     severity: All log messages that are at this severity level or higher will be printed, others will be ignored.
28 void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity);
29
30 } // namespace armnn