Send connectivity logs to scuba

Summary:
^

A dashboard to display the logs from a user session will be built next.

Reviewed By: antonk52

Differential Revision: D47944634

fbshipit-source-id: fb9e53981de5abb401c93c47cdec68f72c944b94
This commit is contained in:
Lorenzo Blasa
2023-08-01 03:45:05 -07:00
committed by Facebook GitHub Bot
parent 830ac6eac9
commit 430a42ec7a

View File

@@ -11,6 +11,7 @@ import {
ClientQuery,
ConnectionRecordEntry,
CommandRecordEntry,
getLogger,
} from 'flipper-common';
import {FlipperServerImpl} from './FlipperServerImpl';
@@ -84,6 +85,7 @@ class Recorder {
};
this.flipperServer_.emit('connectivity-troubleshoot-log', entry);
getLogger().track('usage', 'connectivity-log', entry);
}
};