# cmd_find_log_state

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L700
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-find-c-cmd_find_log_state/

```c
static void cmd_find_log_state(const char *, struct cmd_find_state *)
```

## Parameters

- `prefix` (`const char *`)
- `fs` (`struct cmd_find_state *`)

## Called by

- [`cmd_find_from_client`](/en/tmux/latest/reference/c-function-cmd_find_from_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L880)
- [`cmd_find_from_mouse`](/en/tmux/latest/reference/c-function-cmd_find_from_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L853)
- [`cmd_find_from_nothing`](/en/tmux/latest/reference/c-function-cmd_find_from_nothing/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L833)
- [`cmd_find_from_pane`](/en/tmux/latest/reference/c-function-cmd_find_from_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L813)
- [`cmd_find_from_session`](/en/tmux/latest/reference/c-function-cmd_find_from_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L732)
- [`cmd_find_from_session_window`](/en/tmux/latest/reference/c-function-cmd_find_from_session_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L764)
- [`cmd_find_from_window`](/en/tmux/latest/reference/c-function-cmd_find_from_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L785)
- [`cmd_find_from_winlink`](/en/tmux/latest/reference/c-function-cmd_find_from_winlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L746)
- [`cmd_find_from_winlink_pane`](/en/tmux/latest/reference/c-function-cmd_find_from_winlink_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L802)
- [`cmd_find_target`](/en/tmux/latest/reference/c-function-cmd_find_target/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L1235)

## Calls

- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L703)

## Referenced declarations

- [`cmd_find_state`](/en/tmux/latest/reference/c-struct-cmd_find_state/) (struct)
- [`session.id`](/en/tmux/latest/reference/c-struct-session-id/) (attribute)
- [`window_pane.id`](/en/tmux/latest/reference/c-struct-window_pane-id/) (attribute)
- [`window.id`](/en/tmux/latest/reference/c-struct-window-id/) (attribute)
- [`cmd_find_state.idx`](/en/tmux/latest/reference/c-struct-cmd_find_state-idx/) (attribute)
- [`winlink.idx`](/en/tmux/latest/reference/c-struct-winlink-idx/) (attribute)
- [`session.name`](/en/tmux/latest/reference/c-struct-session-name/) (attribute)
- [`window.name`](/en/tmux/latest/reference/c-struct-window-name/) (attribute)
- [`cmd_find_state.s`](/en/tmux/latest/reference/c-struct-cmd_find_state-s/) (attribute)
- [`cmd_find_state.w`](/en/tmux/latest/reference/c-struct-cmd_find_state-w/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`cmd_find_state.wl`](/en/tmux/latest/reference/c-struct-cmd_find_state-wl/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/latest/reference/c-struct-cmd_find_state-wp/) (attribute)
