mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 14:35:20 -04:00
ffi: Disable colorization of tracing fields
This commit is contained in:
committed by
Jonas Platte
parent
5564d323f5
commit
1311ddbae3
@@ -203,6 +203,10 @@ where
|
||||
let file_layer = config.write_to_files.map(|c| {
|
||||
fmt::layer()
|
||||
.event_format(EventFormatter::new())
|
||||
// EventFormatter doesn't support ANSI colors anyways, but the
|
||||
// default field formatter does, which is unhelpful for iOS +
|
||||
// Android logs, but enabled by default.
|
||||
.with_ansi(false)
|
||||
.with_writer(tracing_appender::rolling::hourly(c.path, c.file_prefix))
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user