continuwuity-bsd/netbsd/patches/patch-src_core_log_console.rs

34 lines
800 B
Rust

Index: src/core/log/console.rs
--- src/core/log/console.rs.orig
+++ src/core/log/console.rs
@@ -65,8 +65,8 @@ pub struct ConsoleFormat {
pub struct ConsoleFormat {
_compact: Format<Compact>,
- full: Format<Full>,
- pretty: Format<Pretty>,
+ full: Format<Full, ()>,
+ pretty: Format<Pretty, ()>,
}
impl ConsoleFormat {
@@ -77,7 +77,8 @@ impl ConsoleFormat {
full: Format::<Full>::default()
.with_thread_ids(config.log_thread_ids)
- .with_ansi(config.log_colors),
+ .with_ansi(config.log_colors)
+ .without_time(),
pretty: fmt::format()
.pretty()
@@ -87,7 +88,8 @@ impl ConsoleFormat {
.with_target(true)
.with_file(true)
.with_line_number(true)
- .with_source_location(true),
+ .with_source_location(true)
+ .without_time(),
}
}
}