Compute Library
 19.05
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

#define ARM_COMPUTE_LOG_INFO_MSG_CORE (   msg)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_MSG_CORE(arm_compute::logging::LogLevel::INFO, msg); \
} while(false)

Log information level message to the core system logger.

Parameters
[in]msgStream to log

Definition at line 87 of file Log.h.

◆ ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE

#define ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE (   fmt,
  ... 
)
Value:
do \
{ \
ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER(); \
ARM_COMPUTE_LOG_MSG_WITH_FORMAT_CORE(arm_compute::logging::LogLevel::INFO, fmt, __VA_ARGS__); \
} while(false)

Log information level formatted message to the core system logger.

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

Definition at line 99 of file Log.h.

◆ 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)

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)

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.