mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-01 20:45:57 +03:00
apply log level filter to file
This commit is contained in:
parent
8367174b38
commit
489f64fffc
@ -49,7 +49,8 @@ pub fn init(app_handle: &AppHandle) {
|
||||
tracing_subscriber::fmt::layer()
|
||||
.event_format(format_for_humans)
|
||||
.with_span_events(FmtSpan::NEW | FmtSpan::CLOSE)
|
||||
.with_writer(file_writer),
|
||||
.with_writer(file_writer)
|
||||
.with_filter(log_level_filter),
|
||||
);
|
||||
|
||||
set_global_default(subscriber).expect("failed to set subscriber");
|
||||
|
Loading…
Reference in New Issue
Block a user