# proc_toggle_log

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

```c
void proc_toggle_log(struct tmuxproc *tp)
```

## Parameters

- `tp` (`struct tmuxproc *`)

## Called by

- [`server_signal`](/en/tmux/3.7c/reference/c-function-server-c-server_signal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L456)

## Calls

- [`log_toggle`](/en/tmux/3.7c/reference/c-function-log_toggle/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/proc.c#L368)

## Referenced declarations

- [`tmuxproc.name`](/en/tmux/3.7c/reference/c-struct-tmuxproc-name/) (attribute)
- [`tmuxproc`](/en/tmux/3.7c/reference/c-struct-tmuxproc/) (struct)
