# tmuxp.log.set_style

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

```
tmuxp.log.set_style(
    message: str,
    stylized: bool,
    style_before: str = "",
    style_after: str = "",
    prefix: str = "",
    suffix: str = "",
) -> str
```

Stylize terminal logging output.

## Parameters

- `message` (`str`)
- `stylized` (`bool`)
- `style_before` (`str`)
- `style_after` (`str`)
- `prefix` (`str`)
- `suffix` (`str`)
