# format_log1

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L271
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_log1/

```c
static void format_log1(struct format_expand_state *es, const char *from, const char *fmt,...)
```

## Parameters

- `es` (`struct format_expand_state *`)
- `from` (`const char *`)
- `fmt` (`const char *`)
- `` (`...`)

## Calls

- [`cmdq_print`](/en/tmux/latest/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L288)
- [`format_logging`](/en/tmux/latest/reference/c-function-format-c-format_logging/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L279)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L286)
- [`xvasprintf`](/en/tmux/latest/reference/c-function-xvasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L283)

## Referenced by

- [`format_log`](/en/tmux/latest/reference/c-define-format-c-format_log/) (constant)

## Referenced declarations

- [`format_tree.flags`](/en/tmux/latest/reference/c-struct-format_tree-flags/) (attribute)
- [`format_expand_state`](/en/tmux/latest/reference/c-struct-format_expand_state/) (struct)
- [`FORMAT_VERBOSE`](/en/tmux/latest/reference/c-define-tmux-h-format_verbose/) (constant)
- [`format_tree.item`](/en/tmux/latest/reference/c-struct-format_tree-item/) (attribute)
- [`format_tree.s`](/en/tmux/latest/reference/c-struct-format_tree-s/) (attribute)
