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

Print an error debug message on the standard error stream.

Parameters
[in]fmta printf-style format string
[in]...a variable argument list
Note
Deprecated if debugging is disabled

Definition at line 726 of file util.cpp.

References __D_ASSERT, dbg(), and unlikely.

Referenced by csdbg::tracer::addr2line(), csdbg::process::cache_add(), and csdbg::tracer::on_dso_load().

727 {
728 #if CSDBG_DBG_LEVEL & CSDBG_DBGL_ERROR
729  __D_ASSERT(fmt != NULL);
730  if ( unlikely(fmt == NULL) )
731  return;
732 
733  va_list args;
734  va_start(args, fmt);
735  dbg("e", fmt, args);
736 #endif
737 }
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: