|
cwist
Modern C web framework with libttak runtime
|
Internal hook from the log call sites into the async log writer. More...
#include <stdbool.h>#include <stddef.h>

Go to the source code of this file.
Functions | |
| bool | cwist_log_async_submit (int fd, const char *line, size_t len) |
Queue one complete line for fd (STDOUT_FILENO or STDERR_FILENO). | |
Internal hook from the log call sites into the async log writer.
Definition in file log_async.h.
Queue one complete line for fd (STDOUT_FILENO or STDERR_FILENO).
fd is not stdout/stderr, or the line is larger than the ring. The caller then writes the line synchronously itself. Definition at line 263 of file log_async.c.
References cap.