ArmNN
 25.11
Loading...
Searching...
No Matches
Logging.hpp File Reference
#include <armnn/Utils.hpp>
#include <ctype.h>
#include <iostream>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <armnn/Exceptions.hpp>
Include dependency graph for Logging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LogSink
class  StandardOutputSink
struct  ScopedRecord
class  SimpleLogger< Level >

Namespaces

namespace  armnn
 Copyright (c) 2021 ARM Limited and Contributors.

Macros

#define ARMNN_LOG(severity)

Enumerations

enum class  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)
Value:
armnn::SimpleLogger<ConvertLogSeverity(armnn::BoostLogSeverityMapping::severity)>::Get().StartNewRecord()

Definition at line 212 of file Logging.hpp.

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

Referenced by ClWorkloadFactory::AfterWorkloadsCreated(), armnn::CheckFastMathSupport(), armnn::CheckFp16Support(), armnn::CheckScaleSetOnQuantizedType(), ClBackendContext::ClBackendContext(), armnn::ConfigureTuner(), DynamicBackendUtils::CreateDynamicBackends(), IDeserializer::DeserializerImpl::CreateNetworkFromBinary(), ClTensorHandleFactory::CreateTensorHandle(), ClTensorHandleFactory::CreateTensorHandle(), ClContextDeserializer::Deserialize(), LoadedNetwork::EnqueueWorkload(), RuntimeImpl::EnqueueWorkload(), ModelAccuracyChecker::GetAccuracy(), DynamicBackendUtils::GetBackendPaths(), DynamicBackendUtils::GetSharedObjects(), LoadedNetwork::ImportInputs(), LoadedNetwork::ImportOutputs(), LayerSupportHandle::IsConvolution2dSupported(), LayerSupportHandle::IsDepthwiseConvolutionSupported(), LayerSupportHandle::IsDilatedDepthwiseConvolutionSupported(), LayerSupportHandle::IsFullyConnectedSupported(), DynamicBackendUtils::IsPathValid(), LoadedNetwork::MakeLoadedNetwork(), IOptimizedNetwork::Optimize, armnn::ParseTuningLevel(), Graph::Print(), DynamicBackendUtils::RegisterDynamicBackendsImpl(), armnn::ReportError(), armnn::ReportWarning(), RuntimeImpl::RuntimeImpl(), ClContextSerializer::Serialize(), OriginsDescriptor::SetViewOriginCoord(), ViewsDescriptor::SetViewSize(), TEST_SUITE(), RuntimeImpl::UnloadNetwork(), ClBackend::UseCustomMemoryAllocator(), ClBackendContext::~ClBackendContext(), ConvertConstDequantisationLayersToConstLayersImpl::~ConvertConstDequantisationLayersToConstLayersImpl(), RuntimeImpl::~RuntimeImpl(), and TurboConvertConstDequantisationLayersToConstLayersImpl::~TurboConvertConstDequantisationLayersToConstLayersImpl().