aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/armnn_delegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/armnn_delegate.cpp')
-rw-r--r--delegate/src/armnn_delegate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp
index 5139adbf75..6250a5f638 100644
--- a/delegate/src/armnn_delegate.cpp
+++ b/delegate/src/armnn_delegate.cpp
@@ -120,6 +120,12 @@ Delegate::Delegate(armnnDelegate::DelegateOptions options)
: m_Runtime(nullptr, nullptr),
m_Options(std::move(options))
{
+ // Configures logging for ARMNN
+ if (options.IsLoggingEnabled())
+ {
+ armnn::ConfigureLogging(true, true, options.GetLoggingSeverity());
+ }
+
// Create ArmNN Runtime
armnn::IRuntime::CreationOptions runtimeOptions;