src/vt/configs/debug/debug_print.h file

Namespaces

namespace vt
namespace vt::runtime
namespace vt::debug
namespace vt::config

Classes

template<CatEnum cat, CtxEnum ctx, ModeEnum mod>
struct vt::config::DebugPrintOp
template<CatEnum cat, ModeEnum mod>
struct vt::config::DebugPrintOp<cat, CtxEnum::node, mod>
template<CatEnum cat, ModeEnum mod>
struct vt::config::DebugPrintOp<cat, CtxEnum::unknown, mod>
template<template<CatEnum, CtxEnum, ModeEnum> class Op, typename C, CatEnum cat, CtxEnum ctx, ModeEnum mode>
struct vt::config::DispatchOp
template<template<CatEnum, CtxEnum, ModeEnum> class Op, typename C, CatEnum cat, CtxEnum ctx, ModeEnum mod, typename Enable = void>
struct vt::config::CheckEnabled
template<template<CatEnum, CtxEnum, ModeEnum> class Op, typename C, CatEnum cat, CtxEnum ctx, ModeEnum mod>
struct vt::config::CheckEnabled<Op, C, cat, ctx, mod, typename std::enable_if_t<not vt_check_enabled(production_build) and(C::context&ctx) not_eq 0 and(C::mode&mod) not_eq 0>>
template<template<CatEnum, CtxEnum, ModeEnum> class Op, typename C, CatEnum cat, CtxEnum ctx, ModeEnum mod>
struct vt::config::ApplyOp

Defines

#define vt_print_colorize_impl(color, str, str2)
#define vt_print_colorize
#define vt_proc_print_colorize(proc)
#define vt_debug_argument_option(opt)
#define vt_debug_print_impl(force, inconfig, inmode, cat, ctx, ...)
#define vt_debug_print(type, feature, ...)
#define vt_debug_print_context(type, feature, ctx, ...)
#define vt_debug_print_verbose(feature, ...)
#define vt_debug_print_terse(feature, ...)
#define vt_debug_print_normal(feature, ...)
#define vt_make_config(feature, cftype)
#define vt_config_print_force_impl(cftype, feature, ctx, ...)
#define vt_print_force_impl(feature, ctx, ...)
#define vt_debug_print_force_impl(feature, ctx, ...)
#define vt_debug_print_force
#define vt_print(feature, ...)
#define vt_option_check_enabled(mode, bit)
#define vt_debug_temp_enable_opt(opt)
Temporarily enable debug print option. vt needs to be initialized before usage.
#define vt_debug_temp_disable_opt(opt)
Temporarily disable debug print option. vt needs to be initialized before usage.
#define vt_debug_scoped_enable_opt(opt)
Temporarily enable debug print option in given scope. When exiting a scope, it restores original option value. vt needs to be initialized before usage.
#define vt_debug_scoped_disable_opt(opt)
Temporarily disable debug print option in given scope. When exiting a scope, it restores original option value. vt needs to be initialized before usage.
#define vt_scoped_modifier_opt_declaration(opt, val)
#define vt_declare_debug_scoped_modifiers(opt)

Define documentation

#define vt_print_colorize_impl(color, str, str2)

Colorize the first string followed by the second in normal color. Honors colorization checks.

#define vt_debug_scoped_enable_opt(opt)

Temporarily enable debug print option in given scope. When exiting a scope, it restores original option value. vt needs to be initialized before usage.

Usage: { ... auto const scopedEnabledContext = vt_debug_scoped_enable_opt(context); ... }

#define vt_debug_scoped_disable_opt(opt)

Temporarily disable debug print option in given scope. When exiting a scope, it restores original option value. vt needs to be initialized before usage.

Usage: { ... auto const scopedDisabledContext = vt_debug_scoped_disable_opt(context); ... }