# log_vwrite

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/log.c#L101
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-log-c-log_vwrite/

```c
static void log_vwrite(const char *msg, va_list ap, const char *prefix)
```

## Parameters

- `msg` (`const char *`)
- `ap` (`va_list`)
- `prefix` (`const char *`)

## Called by

- [`fatal`](/en/tmux/3.7c/reference/c-function-fatal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/log.c#L149)
- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/log.c#L162)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/log.c#L134)

## Referenced declarations

- [`log_file`](/en/tmux/3.7c/reference/c-variable-log-c-log_file/) (attribute)
