PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ cu_debuglogger()

static void cu_debuglogger ( int  level,
const char *  fmt,
va_list  ap 
)
static

Definition at line 291 of file liblwgeom/cunit/cu_tester.c.

References MAX_CUNIT_MSG_LENGTH.

Referenced by main().

292 {
293  char buf[MAX_CUNIT_MSG_LENGTH+1];
294  vsnprintf (buf, MAX_CUNIT_MSG_LENGTH, fmt, ap);
295  buf[MAX_CUNIT_MSG_LENGTH]='\0';
296  fprintf(stderr, "DEBUG%d: %s\n", level, buf);
297 }
#define MAX_CUNIT_MSG_LENGTH
def fmt
Definition: pixval.py:92
Here is the caller graph for this function: