ArmNN
 24.02
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

 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 212 of file Logging.hpp.