ArmNN
 22.11
Logging.hpp File Reference
#include <armnn/Utils.hpp>
#include <iostream>
#include <algorithm>

Go to the source code of this file.

Classes

class  LogSink
 
class  StandardOutputSink
 
struct  ScopedRecord
 
class  SimpleLogger< Level >
 

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Macros

#define ARMNN_LOG(severity)   armnn::SimpleLogger<ConvertLogSeverity(armnn::BoostLogSeverityMapping::severity)>::Get().StartNewRecord()
 

Enumerations

enum  BoostLogSeverityMapping {
  trace, debug, info, warning,
  error, fatal
}
 

Functions

std::string LevelToString (LogSeverity level)
 
LogSeverity StringToLogLevel (std::string level)
 
void SetLogFilter (LogSeverity level)
 
void SetAllLoggingSinks (bool standardOut, bool debugOut, bool coloured)
 
constexpr LogSeverity ConvertLogSeverity (BoostLogSeverityMapping severity)
 

Macro Definition Documentation

◆ ARMNN_LOG

#define ARMNN_LOG (   severity)    armnn::SimpleLogger<ConvertLogSeverity(armnn::BoostLogSeverityMapping::severity)>::Get().StartNewRecord()

Definition at line 205 of file Logging.hpp.

Referenced by ClWorkloadFactory::AfterWorkloadsCreated(), armnn::CheckScaleSetOnQuantizedType(), ClBackendContext::ClBackendContext(), armnn::ConfigureTuner(), DynamicBackendUtils::CreateDynamicBackends(), IDeserializer::DeserializerImpl::CreateNetworkFromBinary(), ClTensorHandleFactory::CreateTensorHandle(), RuntimeImpl::CreateWorkingMemHandle(), ClContextDeserializer::Deserialize(), RuntimeImpl::EnqueueWorkload(), LoadedNetwork::EnqueueWorkload(), LoadedNetwork::Execute(), RuntimeImpl::Execute(), RefNormalizationWorkload::ExecuteAsync(), BaseWorkload< Convolution2dQueueDescriptor >::ExecuteAsync(), LoadedNetwork::FreeWorkingMemory(), ModelAccuracyChecker::GetAccuracy(), DynamicBackendUtils::GetBackendPaths(), armnn::GetBiasDataType(), LayerWithParameters< Pooling3dDescriptor >::GetConnectedConstantAsInputTensors(), DynamicBackendUtils::GetSharedObjects(), LoadedNetwork::ImportInputs(), LoadedNetwork::ImportOutputs(), LayerSupportHandle::IsConvolution2dSupported(), LayerSupportHandle::IsDepthwiseConvolutionSupported(), LayerSupportHandle::IsDilatedDepthwiseConvolutionSupported(), LayerSupportHandle::IsFullyConnectedSupported(), DynamicBackendUtils::IsPathValid(), TfLiteParserImpl::LoadModel(), main(), LoadedNetwork::MakeLoadedNetwork(), armnn::Optimize(), armnn::ParseTuningLevel(), Graph::Print(), DynamicBackendUtils::RegisterDynamicBackendsImpl(), armnn::ReportError(), armnn::ReportWarning(), ConvertConstDequantisationLayersToConstLayersImpl::Run(), RuntimeImpl::RuntimeImpl(), ClContextSerializer::Serialize(), OriginsDescriptor::SetViewOriginCoord(), ViewsDescriptor::SetViewSize(), TEST_SUITE(), RuntimeImpl::UnloadNetwork(), ClBackend::UseCustomMemoryAllocator(), ClBackendContext::~ClBackendContext(), and RuntimeImpl::~RuntimeImpl().