---
name: "tickit_debug_logf"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_debug_logf"
---

# tickit\_debug\_logf(3)

emit debugging log messages

## NAME

tickit\_debug\_logf, tickit\_debug\_vlogf - emit debugging log messages

## SYNOPSIS

```
#include <tickit.h>

void tickit_debug_logf(const char *flag,
          const char *fmt, ...);
void tickit_debug_vlogf(const char *flag,
          const char *fmt, va_list args);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_debug\_logf**() emits a debug logging message, by creating a string using the given format string and argument list in the style of [**sprintf**(3)](/sprintf/3.md). If the requested message flag is enabled, this will be appended to the log output along with a timestamp and the name of the flag itself.

**tickit\_debug\_vlogf**() works analogously, except that it takes a single *va\_list* for the arguments to format.

## RETURN VALUE

These functions return no value.

## SEE ALSO

[**tickit\_debug**(7)](/tickit_debug/7.md), [**tickit**(7)](/tickit/7.md)
