mirror of
https://github.com/hubaldv/bioz-host-rs.git
synced 2026-03-10 02:40:30 +00:00
Updated logging to be able to select output folder.
This commit is contained in:
@@ -43,10 +43,11 @@ async fn main() {
|
||||
let periods_per_dft = app.periods_per_dft.clone();
|
||||
let periods_per_dft_sweep = app.periods_per_dft_sweep.clone();
|
||||
|
||||
let gui_logging_enabled = app.gui_logging_enabled.clone();
|
||||
let gui_logging_state_1 = app.gui_logging_state.clone();
|
||||
let gui_logging_state_2 = app.gui_logging_state.clone();
|
||||
|
||||
// Log thread
|
||||
tokio::spawn(async move { log_data(log_rx).await });
|
||||
tokio::spawn(async move { log_data(log_rx, gui_logging_state_1).await });
|
||||
|
||||
// Execute the runtime in its own thread.
|
||||
std::thread::spawn(move || {
|
||||
@@ -62,7 +63,7 @@ async fn main() {
|
||||
data_frequency_clone,
|
||||
periods_per_dft,
|
||||
periods_per_dft_sweep,
|
||||
gui_logging_enabled,
|
||||
gui_logging_state_2,
|
||||
log_tx_clone,
|
||||
));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user