Convert all connectivity logs from "log" to "info"
Summary: In a diff down the stack I introduced sending of info/warn/error logs to Scuba. Here I'm just changing level of all connectivity-related logging to "info" as they often required for investigations. Reviewed By: mweststrate Differential Revision: D31532770 fbshipit-source-id: 956d6712918291579b3beb12cb91ab69ce1e3859
This commit is contained in:
committed by
Facebook GitHub Bot
parent
64ce2e6f69
commit
1fae3a24c9
@@ -152,11 +152,12 @@ export class IOSDeviceManager {
|
||||
.map((device) => device.serial),
|
||||
);
|
||||
|
||||
for (const {udid, type, name} of activeDevices) {
|
||||
for (const activeDevice of activeDevices) {
|
||||
const {udid, type, name} = activeDevice;
|
||||
if (currentDeviceIDs.has(udid)) {
|
||||
currentDeviceIDs.delete(udid);
|
||||
} else {
|
||||
console.log(`[conn] detected new iOS device ${udid}`);
|
||||
console.info(`[conn] detected new iOS device ${udid}`, activeDevice);
|
||||
const iOSDevice = new IOSDevice(
|
||||
this.flipperServer,
|
||||
this.iosBridge,
|
||||
@@ -169,7 +170,7 @@ export class IOSDeviceManager {
|
||||
}
|
||||
|
||||
currentDeviceIDs.forEach((id) => {
|
||||
console.log(`[conn] Could no longer find ${id}, removing...`);
|
||||
console.info(`[conn] Could no longer find ${id}, removing...`);
|
||||
this.flipperServer.unregisterDevice(id);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user