Vowpal Wabbit
Classes | Macros
debug_log.h File Reference
#include "future_compat.h"

Classes

struct  vw_dbg
 

Macros

#define VW_DEBUG_LOG   vw_dbg::default_log
 
#define VW_LOG_SINK   std::cout
 
#define VW_DBG(e)   if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK << debug_depth_indent_string(e)
 
#define VW_DBG_0   if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK
 

Macro Definition Documentation

#define VW_DBG (   e)    if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK << debug_depth_indent_string(e)
#define VW_DBG_0   if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK
#define VW_DEBUG_LOG   vw_dbg::default_log
#define VW_LOG_SINK   std::cout