Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Macros
debug_log.h File Reference
#include "vw/common/future_compat.h"
#include "vw/core/debug_print.h"

Classes

class  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 << ::VW::debug::debug_depth_indent_string(e)
 
#define VW_DBG_0    if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK
 

Macro Definition Documentation

◆ VW_DBG

#define VW_DBG (   e)     if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK << ::VW::debug::debug_depth_indent_string(e)

◆ VW_DBG_0

#define VW_DBG_0    if VW_STD17_CONSTEXPR (VW_DEBUG_LOG) VW_LOG_SINK

◆ VW_DEBUG_LOG

#define VW_DEBUG_LOG   vw_dbg::DEFAULT_LOG

◆ VW_LOG_SINK

#define VW_LOG_SINK   std::cout