log fixes
This commit is contained in:
@@ -19,7 +19,10 @@ elif [[ "$1" == "ios" ]]; then
|
||||
|
||||
# Run in temporary simulator
|
||||
xcrun simctl install $ID $SYMROOT/Debug-iphonesimulator/$APPNAME.app
|
||||
xcrun simctl spawn $ID log stream --level debug --predicate "subsystem == \"$BUNDLENAME\"" &
|
||||
xcrun simctl launch --console $ID $BUNDLENAME
|
||||
sleep 1 # Ensure the last log lines print
|
||||
kill -INT %1
|
||||
|
||||
# Clean up build output
|
||||
rm -rf /tmp/testout
|
||||
|
@@ -25,12 +25,12 @@ pub fn veilid_tools_setup_ios_tests() {
|
||||
tracing_subscriber::registry()
|
||||
.with(filters)
|
||||
.with(filter::LevelFilter::TRACE)
|
||||
.with(OsLogger::new("com.veilid.veilidtools-tests", "default"))
|
||||
.with(OsLogger::new("com.veilid.veilidtools-tests", ""))
|
||||
.init();
|
||||
} else {
|
||||
use oslog::OsLogger;
|
||||
|
||||
OsLogger::new("com.veilid.veilidtools-tests", "default")
|
||||
OsLogger::new("com.veilid.veilidtools-tests")
|
||||
.level_filter(LevelFilter::Trace)
|
||||
.init()
|
||||
.unwrap();
|
||||
|
Reference in New Issue
Block a user