libcsdbg  1.28
C++ exception (and generic) stack trace debug library
void csdbg::util::dbg_warn ( const i8 fmt,
  ... 
)
static

Print a warning debug message on the standard error stream.

Parameters
[in]fmta printf-style format string
[in]...a variable argument list
Note
Deprecated if debug level is set lower than DBG_LEVEL_MEDIUM

Definition at line 703 of file util.cpp.

References __D_ASSERT, dbg(), and unlikely.

Referenced by csdbg::sttybuf::discard(), csdbg::dictionary::load_file(), and csdbg::tracer::on_dso_load().

704 {
705 #if CSDBG_DBG_LEVEL & CSDBG_DBGL_WARNING
706  __D_ASSERT(fmt != NULL);
707  if ( unlikely(fmt == NULL) )
708  return;
709 
710  va_list args;
711  va_start(args, fmt);
712  dbg("w", fmt, args);
713 #endif
714 }
static void dbg(const i8 *, const i8 *, va_list)
Print a tagged debug message on the standard error stream.
Definition: util.cpp:641
#define unlikely(expr)
Offer a hint (negative) to the pipeline branch predictor.
Definition: config.hpp:349
#define __D_ASSERT(x)
Assertion macro.
Definition: config.hpp:268

+ Here is the call graph for this function:

+ Here is the caller graph for this function: