Move asb tracing initializer to asb module

This commit is contained in:
rishflab 2021-03-26 16:27:13 +11:00
parent bad6ca95e0
commit e517c5934e
4 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
pub mod command;
pub mod config;
mod rate;
pub mod trace;
pub use rate::Rate;

View File

@ -21,6 +21,7 @@ use swap::asb::command::{Arguments, Command};
use swap::asb::config::{
initial_setup, query_user_for_initial_testnet_config, read_config, Config, ConfigNotInitialized,
};
use swap::asb::trace::init_tracing;
use swap::database::Database;
use swap::env::GetConfig;
use swap::fs::default_config_path;
@ -29,7 +30,6 @@ use swap::network::swarm;
use swap::protocol::alice::event_loop::KrakenRate;
use swap::protocol::alice::{run, Behaviour, EventLoop};
use swap::seed::Seed;
use swap::trace::init_tracing;
use swap::{bitcoin, env, kraken, monero};
use tracing::{info, warn};
use tracing_subscriber::filter::LevelFilter;

View File

@ -27,6 +27,5 @@ pub mod monero;
pub mod network;
pub mod protocol;
pub mod seed;
pub mod trace;
mod monero_ext;