GCC Middle and Back End API Reference
logging.h File Reference
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  diagnostics::logging::logger
class  diagnostics::logging::auto_inc_depth
class  diagnostics::logging::log_function_params

Namespaces

namespace  diagnostics
namespace  diagnostics::logging

Macros

#define DIAGNOSTICS_LOG_SCOPE_PRINTF0(LOGGER, FMT)
#define DIAGNOSTICS_LOG_SCOPE_PRINTF1(LOGGER, FMT, ARG0)
#define DIAGNOSTICS_LOG_SCOPE_PRINTF2(LOGGER, FMT, ARG0, ARG1)

Macro Definition Documentation

◆ DIAGNOSTICS_LOG_SCOPE_PRINTF0

◆ DIAGNOSTICS_LOG_SCOPE_PRINTF1

#define DIAGNOSTICS_LOG_SCOPE_PRINTF1 ( LOGGER,
FMT,
ARG0 )
Value:
if (LOGGER) \
(LOGGER)->log_printf ((FMT), (ARG0)); \
diagnostics::logging::auto_inc_depth depth_sentinel (LOGGER);

◆ DIAGNOSTICS_LOG_SCOPE_PRINTF2

#define DIAGNOSTICS_LOG_SCOPE_PRINTF2 ( LOGGER,
FMT,
ARG0,
ARG1 )
Value:
if (LOGGER) \
(LOGGER)->log_printf ((FMT), (ARG0), (ARG1)); \
diagnostics::logging::auto_inc_depth depth_sentinel (LOGGER);

Referenced by handle_OPT_fdiagnostics_add_output_(), and handle_OPT_fdiagnostics_set_output_().