# tmuxp.log.debug_log_template

- **Module:** tmuxp.log
- **Package:** tmuxp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/log.py#L174
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-log-debug_log_template/

```
tmuxp.log.debug_log_template(self: type[logging.Formatter], record: logging.LogRecord, stylized: bool | None = False, kwargs: t.Any) -> str
```

Return the prefix for the log message. Template for Formatter.

## Parameters

- `self` (type[logging.Formatter])
- `record` (logging.LogRecord): Object passed from :meth:`logging.Formatter.format`.
- `stylized` (bool | None)
- `kwargs` (t.Any)

## Returns

str
    Log template.
