# tmuxp.log.LogFormatter

- **Module:** tmuxp.log
- **Package:** tmuxp
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/log.py#L101
- **Bases:** [`logging.Formatter`](https://docs.python.org/3/library/logging.html#logging.Formatter)
- **Page:** https://libtmux.org/en/py/stable/workspace/reference/tmuxp-log-logformatter/

Format logs for tmuxp.

## Members

### Other members

- [`format`](/en/py/stable/workspace/reference/tmuxp-log-logformatter-format/) (method): Format a log record.
- [`template`](/en/py/stable/workspace/reference/tmuxp-log-logformatter-template/) (method): Return the prefix for the log message. Template for Formatter.
- [`__init__`](/en/py/stable/workspace/reference/tmuxp-log-logformatter-__init__/) (method)
