[formats] section of config.toml.
Format String Syntax
Variables
Use${variable} to insert values:
Conditionals
Use${?variable|text} to only render when the variable is non-empty:
message is empty, the (message) part is omitted entirely.
Customize how messages and events are displayed
[formats] section of config.toml.
${variable} to insert values:
${?variable|text} to only render when the variable is non-empty:
message is empty, the (message) part is omitted entirely.