Add option to toggle compact log format.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-04 10:14:22 +00:00
parent 2b7cf7d5d5
commit 74a576caf7
4 changed files with 26 additions and 13 deletions

View File

@@ -869,6 +869,10 @@ pub struct Config {
#[serde(default = "true_fn", alias = "log_colours")]
pub log_colors: bool,
/// Sets the log format to compact mode.
#[serde(default)]
pub log_compact: bool,
/// Configures the span events which will be outputted with the log.
///
/// default: "none"