Skip to main content

Name

ec_debug_printf — Write debug information given a debug level

Synopsis

#include "ec_growbuf.h"

| int **ec_debug_printf** ( | level, |   | |   | mask, |   | |   | s, |   | |   | ...); |   |

int <var class="pdparam">level</var>; int <var class="pdparam">mask</var>; const char * <var class="pdparam">s</var>; <var class="pdparam">...</var>;

Description

Write debug information given a debug level.

Parameters

level

The debug level.

mask

A mask.

s

The debug string to write. This may contain format specifiers.

...

The variable argument list, whose number should match the number of specifiers in s.

Return Values

This function returns 1.

Threading

It is legal to call this function in any thread.

Was this page helpful?