mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-08 22:42:35 -04:00
Remove redundant noun from tracing initialiser functions
This commit is contained in:
parent
9745d150e7
commit
8805002f96
6 changed files with 11 additions and 13 deletions
|
@ -8,7 +8,7 @@ use tracing_subscriber::layer::{Context, SubscriberExt};
|
|||
use tracing_subscriber::{fmt, EnvFilter, Layer, Registry};
|
||||
use uuid::Uuid;
|
||||
|
||||
pub fn init_tracing(debug: bool, dir: impl AsRef<Path>, swap_id: Uuid) -> Result<()> {
|
||||
pub fn init(debug: bool, dir: impl AsRef<Path>, swap_id: Uuid) -> Result<()> {
|
||||
let level_filter = EnvFilter::try_new("swap=debug")?;
|
||||
|
||||
let registry = Registry::default().with(level_filter);
|
Loading…
Add table
Add a link
Reference in a new issue