PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ cu_debuglogger()

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

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

References MAX_CUNIT_MSG_LENGTH.

Referenced by main().

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