# log_event_cb

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

```c
static void log_event_cb(int severity, const char *msg)
```

## Parameters

- `severity` (`int`)
- `msg` (`const char *`)

## Calls

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

## Referenced by

- [`log_open`](/en/tmux/latest/reference/c-function-log_open/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
