Skip to content

Commit

Permalink
set log levels to debug for ios and android (#1451)
Browse files Browse the repository at this point in the history
Co-authored-by: cameronvoell <[email protected]>
  • Loading branch information
cameronvoell and cameronvoell authored Jan 2, 2025
1 parent 3f2ba32 commit a53a262
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bindings_ffi/src/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ mod android {
where
S: Subscriber + for<'a> LookupSpan<'a>,
{
paranoid_android::layer(env!("CARGO_PKG_NAME")).with_thread_names(true)
paranoid_android::layer(env!("CARGO_PKG_NAME"))
.with_thread_names(true)
.with_filter(tracing_subscriber::filter::LevelFilter::DEBUG)
}
}

Expand All @@ -30,6 +32,7 @@ mod ios {
use tracing_oslog::OsLogger;
let subsystem = format!("org.xmtp.{}", env!("CARGO_PKG_NAME"));
OsLogger::new(subsystem, "default")
.with_filter(tracing_subscriber::filter::LevelFilter::DEBUG)
}
}

Expand Down

0 comments on commit a53a262

Please sign in to comment.