Compute Library
 21.11
Log.h File Reference

Go to the source code of this file.

Macros

#define ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER()
 
#define ARM_COMPUTE_LOG_MSG_CORE(log_level, msg)
 Log a message to the core system logger. More...
 
#define ARM_COMPUTE_LOG_MSG_WITH_FORMAT_CORE(log_level, fmt, ...)
 Log a message with format to the core system logger. More...
 
#define ARM_COMPUTE_LOG_STREAM_CORE(log_level, ss)
 Log a stream to the core system logger. More...
 
#define ARM_COMPUTE_LOG_INFO_MSG_CORE(msg)
 Log information level message to the core system logger. More...
 
#define ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE(fmt, ...)
 Log information level formatted message to the core system logger. More...
 
#define ARM_COMPUTE_LOG_INFO_STREAM_CORE(ss)
 Log information level stream to the core system logger. More...
 

Macro Definition Documentation

◆ ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER

#define ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER ( )

Definition at line 43 of file Log.h.

◆ ARM_COMPUTE_LOG_INFO_MSG_CORE

◆ ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE

◆ ARM_COMPUTE_LOG_INFO_STREAM_CORE

#define ARM_COMPUTE_LOG_INFO_STREAM_CORE (   ss)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_STREAM_CORE(arm_compute::logging::LogLevel::INFO, ss); \
} while(false)
std::stringstream ss(mlgo_str)

Log information level stream to the core system logger.

Parameters
[in]ssMessage to log

Definition at line 110 of file Log.h.

◆ ARM_COMPUTE_LOG_MSG_CORE

#define ARM_COMPUTE_LOG_MSG_CORE (   log_level,
  msg 
)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_MSG("CORE", log_level, msg); \
} while(false)

Log a message to the core system logger.

Parameters
[in]log_levelLogging level
[in]msgMessage to log

Definition at line 51 of file Log.h.

◆ ARM_COMPUTE_LOG_MSG_WITH_FORMAT_CORE

#define ARM_COMPUTE_LOG_MSG_WITH_FORMAT_CORE (   log_level,
  fmt,
  ... 
)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_MSG_WITH_FORMAT("CORE", log_level, fmt, __VA_ARGS__); \
} while(false)

Log a message with format to the core system logger.

Parameters
[in]log_levelLogging level
[in]fmtString format (printf style)
[in]...Message arguments

Definition at line 64 of file Log.h.

◆ ARM_COMPUTE_LOG_STREAM_CORE

#define ARM_COMPUTE_LOG_STREAM_CORE (   log_level,
  ss 
)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_STREAM("CORE", log_level, ss); \
} while(false)
std::stringstream ss(mlgo_str)

Log a stream to the core system logger.

Parameters
[in]log_levelLogging level
[in]ssStream to log

Definition at line 76 of file Log.h.